mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
99d0421ba7
* Fixed: Don't fail build on test failure This sets Appveyor up to use the original build.sh and test.sh scripts. Enables tests for Travis Add frontend linting checks to Appveyor builds Add Failed Tests message to Appveyor builds Fix windows installer naming Fix a few UI issues causing eslint and stylelint to fail * fixup! forgot one ui fix. * fixup! Inno doesn't like appveyor appending string to pr version * fixup! It's too late, my brain is mush
66 lines
3 KiB
Text
66 lines
3 KiB
Text
; Script generated by the Inno Setup Script Wizard.
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
#define AppName "Lidarr"
|
|
#define AppPublisher "Team Lidarr"
|
|
#define AppURL "https://lidarr.audio/"
|
|
#define ForumsURL "https://forums.lidarr.audio/"
|
|
#define AppExeName "Lidarr.exe"
|
|
#define BuildNumber "0.2"
|
|
#define BuildNumber GetEnv('APPVEYOR_BUILD_NUMBER')
|
|
#define BuildVersion GetEnv('APPVEYOR_BUILD_VERSION')
|
|
#define BranchName GetEnv('APPVEYOR_REPO_BRANCH')
|
|
|
|
[Setup]
|
|
; NOTE: The value of AppId uniquely identifies this application.
|
|
; Do not use the same AppId value in installers for other applications.
|
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
|
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F93}
|
|
AppName={#AppName}
|
|
AppVersion=2.0
|
|
AppPublisher={#AppPublisher}
|
|
AppPublisherURL={#AppURL}
|
|
AppSupportURL={#ForumsURL}
|
|
AppUpdatesURL={#AppURL}
|
|
DefaultDirName={commonappdata}\Lidarr\bin
|
|
DisableDirPage=yes
|
|
DefaultGroupName={#AppName}
|
|
DisableProgramGroupPage=yes
|
|
OutputBaseFilename=Lidarr.{#BranchName}.{#BuildVersion}.windows
|
|
SolidCompression=yes
|
|
AppCopyright=Creative Commons 3.0 License
|
|
AllowUNCPath=False
|
|
UninstallDisplayIcon={app}\Lidarr.exe
|
|
DisableReadyPage=True
|
|
CompressionThreads=2
|
|
Compression=lzma2/normal
|
|
AppContact={#ForumsURL}
|
|
VersionInfoVersion=0.2.0.{#BuildNumber}
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
|
|
Name: "windowsService"; Description: "Install Windows Service (Starts when the computer starts)"; GroupDescription: "Start automatically"; Flags: exclusive
|
|
Name: "startupShortcut"; Description: "Create shortcut in Startup folder (Starts when you log into Windows)"; GroupDescription: "Start automatically"; Flags: exclusive unchecked
|
|
Name: "none"; Description: "Do not start automatically"; GroupDescription: "Start automatically"; Flags: exclusive unchecked
|
|
|
|
[Files]
|
|
Source: "..\_output\Lidarr.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "..\_output\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|
|
|
[Icons]
|
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
|
Name: "{userstartup}\{#AppName}"; Filename: "{app}\Lidarr.exe"; WorkingDir: "{app}"; Tasks: startupShortcut
|
|
|
|
[Run]
|
|
Filename: "{app}\Lidarr.Console.exe"; Parameters: "/u"; Flags: runhidden waituntilterminated;
|
|
Filename: "{app}\Lidarr.Console.exe"; Parameters: "/i"; Flags: runhidden waituntilterminated; Tasks: windowsService
|
|
Filename: "{app}\Lidarr.exe"; Description: "Open Lidarr"; Flags: postinstall skipifsilent nowait; Tasks: windowsService;
|
|
Filename: "{app}\Lidarr.exe"; Description: "Start Lidarr"; Flags: postinstall skipifsilent nowait; Tasks: startupShortcut none;
|
|
|
|
[UninstallRun]
|
|
Filename: "{app}\lidarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|