mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
AppVeyor now have InnoSetup installed so no need to download
This commit is contained in:
parent
80e150c93c
commit
2cb679a63a
1 changed files with 0 additions and 16 deletions
|
@ -163,24 +163,8 @@ private static void CompileSetup()
|
|||
CompileISSFile("ShareX-setup.iss");
|
||||
}
|
||||
|
||||
private static void InstallInnoSetup()
|
||||
{
|
||||
string innoSetupFilename = Helpers.DownloadFile("http://files.jrsoftware.org/is/5/innosetup-5.5.9.exe");
|
||||
|
||||
Console.WriteLine("Installing InnoSetup.");
|
||||
|
||||
Process.Start(innoSetupFilename, "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-").WaitForExit();
|
||||
|
||||
Console.WriteLine("InnoSetup installed.");
|
||||
}
|
||||
|
||||
private static void CompileISSFile(string filename)
|
||||
{
|
||||
if (AppVeyor && !File.Exists(InnoSetupCompilerPath))
|
||||
{
|
||||
InstallInnoSetup();
|
||||
}
|
||||
|
||||
if (File.Exists(InnoSetupCompilerPath))
|
||||
{
|
||||
Console.WriteLine("Compiling setup file: " + filename);
|
||||
|
|
Loading…
Reference in a new issue