[Windows] Rework installer builder script
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
cd $PSScriptRoot
|
||||||
|
flutter build windows --release
|
||||||
|
ISCC.exe ./busylight-buddy-windows-installer-builder.iss
|
||||||
+8
-8
@@ -3,10 +3,10 @@
|
|||||||
; Non-commercial use only
|
; Non-commercial use only
|
||||||
|
|
||||||
#define MyAppName "BusyLight Buddy"
|
#define MyAppName "BusyLight Buddy"
|
||||||
#define MyAppVersion "0.1"
|
#define MyAppVersion "0.0.1"
|
||||||
#define MyAppPublisher "iGoX"
|
#define MyAppPublisher "iGoX"
|
||||||
#define MyAppURL "https://github.com/igox/busylight-buddy"
|
#define MyAppURL "https://github.com/igox/busylight-buddy"
|
||||||
#define MyAppExeName "busylight_buddy.exe"
|
#define MyAppExeName "busylight-buddy.exe"
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
||||||
@@ -30,13 +30,13 @@ ArchitecturesAllowed=x64compatible
|
|||||||
; the 64-bit view of the registry.
|
; the 64-bit view of the registry.
|
||||||
ArchitecturesInstallIn64BitMode=x64compatible
|
ArchitecturesInstallIn64BitMode=x64compatible
|
||||||
DisableProgramGroupPage=yes
|
DisableProgramGroupPage=yes
|
||||||
LicenseFile="LICENSE"
|
LicenseFile="..\LICENSE"
|
||||||
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
||||||
;PrivilegesRequired=lowest
|
;PrivilegesRequired=lowest
|
||||||
PrivilegesRequiredOverridesAllowed=dialog
|
PrivilegesRequiredOverridesAllowed=dialog
|
||||||
OutputDir="windows\installer"
|
OutputDir="installer"
|
||||||
OutputBaseFilename=BusyLight-Buddy-Installer
|
OutputBaseFilename=BusyLight-Buddy-Installer
|
||||||
SetupIconFile="windows\runner\resources\app_icon.ico"
|
SetupIconFile="runner\resources\app_icon.ico"
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardStyle=modern dynamic
|
WizardStyle=modern dynamic
|
||||||
|
|
||||||
@@ -47,9 +47,9 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
|
|||||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "build\windows\x64\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "..\build\windows\x64\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "build\windows\x64\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "..\build\windows\x64\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "build\windows\x64\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: "..\build\windows\x64\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Reference in New Issue
Block a user