Changed build scripts
This commit is contained in:
parent
b4f041c088
commit
22d4f15bc9
@ -7,6 +7,11 @@
|
|||||||
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
|
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
|
||||||
#define MyAppExeName "fizzylauncher.exe"
|
#define MyAppExeName "fizzylauncher.exe"
|
||||||
|
|
||||||
|
#define AppSourcePath "L:\gitea-hiimray\linear-app-launcher\bin\Release\64"
|
||||||
|
#define AppReleasePath "L:\gitea-hiimray\linear-app-launcher\bin\Release"
|
||||||
|
#define AppReleaseName "fizzy-launcher"
|
||||||
|
|
||||||
|
|
||||||
[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.
|
||||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
@ -23,8 +28,8 @@ DefaultGroupName={#MyAppName}
|
|||||||
DisableProgramGroupPage=yes
|
DisableProgramGroupPage=yes
|
||||||
; Remove the following line to run in administrative install mode (install for all users.)
|
; Remove the following line to run in administrative install mode (install for all users.)
|
||||||
PrivilegesRequired=lowest
|
PrivilegesRequired=lowest
|
||||||
OutputDir=L:\gitea-hiimray\linear-app-launcher\bin\Release
|
OutputDir={#AppReleasePath}
|
||||||
OutputBaseFilename=fizzy-launcher
|
OutputBaseFilename={#AppReleaseName}
|
||||||
Compression=lzma
|
Compression=lzma
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
@ -36,7 +41,7 @@ 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: "L:\gitea-hiimray\linear-app-launcher\bin\Release\fizzylauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#AppSourcePath}\fizzylauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
11
build.bat
11
build.bat
@ -1,5 +1,10 @@
|
|||||||
rmdir /s /q "bin\Release\64\"
|
rmdir /s /q "bin\Release\"
|
||||||
dotnet publish skye.sln -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\"
|
dotnet publish skye.sln -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\64\"
|
||||||
|
|
||||||
##rmdir /s /q "bin\Release\86\"
|
##rmdir /s /q "bin\Release\86\"
|
||||||
##dotnet publish skye.sln -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\"
|
##dotnet publish skye.sln -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\"
|
||||||
|
|
||||||
|
"C:\B\Portable Files (dev)\Inno Setup\v6.0.4-2\app\ISCC.exe" "build-installer.iss"
|
||||||
|
|
||||||
|
cd "bin\Release\64\"
|
||||||
|
"C:\B\Portable Files\PeaZip (Portable)\v6.5.1\App\PeaZip\res\7z\7z.exe" a -t7z "..\fizzy-launcher.7z" "*" -mx9
|
Reference in New Issue
Block a user