mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07:00
Misc Build Script Updates
This commit is contained in:
parent
3a4c6fe364
commit
f6fc78d927
3 changed files with 16 additions and 11 deletions
6
build.sh
6
build.sh
|
@ -7,9 +7,9 @@ outputFolderOsxApp='./_output_osx_app'
|
||||||
testPackageFolder='./_tests/'
|
testPackageFolder='./_tests/'
|
||||||
testSearchPattern='*.Test/bin/x86/Release'
|
testSearchPattern='*.Test/bin/x86/Release'
|
||||||
sourceFolder='./src'
|
sourceFolder='./src'
|
||||||
slnFile=$sourceFolder/NzbDrone.sln
|
slnFile=$sourceFolder/Lidarr.sln
|
||||||
updateFolder=$outputFolder/NzbDrone.Update
|
updateFolder=$outputFolder/Lidarr.Update
|
||||||
updateFolderMono=$outputFolderMono/NzbDrone.Update
|
updateFolderMono=$outputFolderMono/Lidarr.Update
|
||||||
|
|
||||||
nuget='tools/nuget/nuget.exe';
|
nuget='tools/nuget/nuget.exe';
|
||||||
CheckExitCode()
|
CheckExitCode()
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#SET BUILD_NUMBER=1
|
REM SET BUILD_NUMBER=1
|
||||||
#SET branch=develop
|
REM SET branch=develop
|
||||||
inno\ISCC.exe nzbdrone.iss
|
inno\ISCC.exe nzbdrone.iss
|
|
@ -14,7 +14,7 @@
|
||||||
; NOTE: The value of AppId uniquely identifies this application.
|
; NOTE: The value of AppId uniquely identifies this application.
|
||||||
; Do not use the same AppId value in installers for other applications.
|
; Do not use the same AppId value in installers for other applications.
|
||||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71}
|
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F93}
|
||||||
AppName={#AppName}
|
AppName={#AppName}
|
||||||
AppVersion=2.0
|
AppVersion=2.0
|
||||||
AppPublisher={#AppPublisher}
|
AppPublisher={#AppPublisher}
|
||||||
|
@ -25,7 +25,7 @@ DefaultDirName={commonappdata}\Lidarr\bin
|
||||||
DisableDirPage=yes
|
DisableDirPage=yes
|
||||||
DefaultGroupName={#AppName}
|
DefaultGroupName={#AppName}
|
||||||
DisableProgramGroupPage=yes
|
DisableProgramGroupPage=yes
|
||||||
OutputBaseFilename=Lidarr.{#BranchName}.{#BuildNumber}
|
OutputBaseFilename=Lidarr.{#BranchName}.{#BuildNumber}.windows
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
AppCopyright=Creative Commons 3.0 License
|
AppCopyright=Creative Commons 3.0 License
|
||||||
AllowUNCPath=False
|
AllowUNCPath=False
|
||||||
|
@ -40,8 +40,10 @@ VersionInfoVersion={#BuildNumber}
|
||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
;Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
|
||||||
Name: "windowsService"; Description: "Install as a Windows Service"
|
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]
|
[Files]
|
||||||
Source: "..\_output\Lidarr.exe"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "..\_output\Lidarr.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
@ -51,10 +53,13 @@ Source: "..\_output\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs cr
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
||||||
Name: "{commondesktop}\{#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]
|
[Run]
|
||||||
Filename: "{app}\lidarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated;
|
Filename: "{app}\Lidarr.Console.exe"; Parameters: "/u"; Flags: runhidden waituntilterminated;
|
||||||
Filename: "{app}\lidarr.console.exe"; Parameters: "/i"; Flags: waituntilterminated; Tasks: windowsService
|
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]
|
[UninstallRun]
|
||||||
Filename: "{app}\lidarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|
Filename: "{app}\lidarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue