Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
We don't need 4 cli arguments just for setting icons. 2 should be eno…
Browse files Browse the repository at this point in the history
…ugh :)
  • Loading branch information
caesay committed Jan 13, 2022
1 parent 9df6882 commit ad72617
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/SquirrelCli/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ public ReleasifyOptions()
Add("p=|package=", "Path to a '.nupkg' package to releasify", v => package = v);
Add("f=|framework=", "List of required runtimes to install during setup -\nexample: 'net6,vcredist143'", v => framework = v);
Add("s=|splashImage=", "Splash image to be displayed during installation", v => splashImage = v);
Add("i=|icon=", "Sets all the icons: Update, App, and Setup",
(v) => { updateIcon = v; appIcon = v; setupIcon = v; });
Add("updateIcon=", ".ico to be used for Update.exe", v => updateIcon = v);
Add("i=|icon=", ".ico to be used for Setup.exe and Update.exe",
(v) => { updateIcon = v; setupIcon = v; });
Add("appIcon=", ".ico to be used in the 'Apps and Features' list", v => appIcon = v);
Add("setupIcon=", ".ico to be used for Setup.exe", v => setupIcon = v);
Add("noDelta", "Skip the generation of delta packages", v => noDelta = true);
Add("msi=", "Compiles a .msi machine-wide deployment tool.\nThis value must be either 'x86' 'x64'", v => msi = v.ToLower());
Add("n=|signParams=", "Sign files via SignTool.exe using these parameters", v => signParams = v);
Add("signToolPath=", "Use a custom signing binary (eg AzureSignTool.exe)", v => signToolPath = v);
Add("noDelta", "Skip the generation of delta packages", v => noDelta = true);
}

public override void Validate()
Expand Down

0 comments on commit ad72617

Please sign in to comment.