-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--- We've finally added the installer bundles! It's now truly a one-file installer in an .EXE format. --- Type: add Breaking: False Doc Required: False Backport Required: False Part: 1/1
- Loading branch information
Showing
8 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,8 +32,8 @@ jobs: | |
cd tools ; cmd.exe /c "docgen-pack.cmd" ; cd .. | ||
dotnet build -p:Configuration=Release -p:Platform=x64 public/Nitrocid.Installers/Nitrocid.Installer.sln | ||
dotnet build -p:Configuration=Release -p:Platform=ARM64 public/Nitrocid.Installers/Nitrocid.Installer.sln | ||
"%ProgramFiles%\7-Zip\7z.exe" a -tzip tools/Nitrocid-Win-Installer-x64.zip "public\Nitrocid.Installers\Nitrocid.Installer\bin\x64\Release\en-US\*" | ||
"%ProgramFiles%\7-Zip\7z.exe" a -tzip tools/Nitrocid-Win-Installer-ARM64.zip "public\Nitrocid.Installers\Nitrocid.Installer\bin\ARM64\Release\en-US\*" | ||
Move-Item public/Nitrocid.Installers/Nitrocid.InstallerBundle/bin/x64/Release/Nitrocid.InstallerBundle.exe tools/nitrocid-win-x64-installer.exe | ||
Move-Item public/Nitrocid.Installers/Nitrocid.InstallerBundle/bin/ARM64/Release/Nitrocid.InstallerBundle.exe tools/nitrocid-win-arm64-installer.exe | ||
- name: Release Preparation | ||
id: release-asset | ||
shell: bash | ||
|
@@ -43,6 +43,7 @@ jobs: | |
cat CHANGES >> "$GITHUB_OUTPUT" | ||
powershell 'Get-FileHash -Algorithm sha256 tools/*.zip | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" | ||
powershell 'Get-FileHash -Algorithm sha256 tools/*-changes.chg | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" | ||
powershell 'Get-FileHash -Algorithm sha256 tools/*.exe | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" | ||
echo 'EOF' >> "$GITHUB_OUTPUT" | ||
- name: Binary Attestation (binaries) | ||
uses: actions/attest-build-provenance@v1 | ||
|
@@ -56,7 +57,7 @@ jobs: | |
files: | | ||
tools/*.zip | ||
tools/*-changes.chg | ||
*.iso | ||
tools/*.exe | ||
- name: Notify build | ||
uses: tsickert/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
public/Nitrocid.Installers/Nitrocid.InstallerBundle/Bundle.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
<Bundle Name="Nitrocid" Manufacturer="Aptivi" Version="0.1.0.36" UpgradeCode="7011d1b2-1bb0-49db-8a25-035d5b47ce97" IconSourceFile="..\..\..\..\..\..\Nitrocid\OfficialAppIcon-NitrocidKS.ico"> | ||
<BootstrapperApplication> | ||
<bal:WixInternalUIBootstrapperApplication /> | ||
</BootstrapperApplication> | ||
|
||
<Chain> | ||
<MsiPackage SourceFile="Nitrocid.Installer.msi" /> | ||
</Chain> | ||
</Bundle> | ||
</Wix> |
15 changes: 15 additions & 0 deletions
15
public/Nitrocid.Installers/Nitrocid.InstallerBundle/Nitrocid.InstallerBundle.wixproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="WixToolset.Sdk/5.0.2"> | ||
<PropertyGroup> | ||
<DebugType Condition="'$(Configuration)' == 'Debug'">full</DebugType> | ||
<DebugType Condition="'$(Configuration)' != 'Debug'">none</DebugType> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputType>Bundle</OutputType> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="WixToolset.Bal.wixext" Version="5.0.2" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Nitrocid.Installer\Nitrocid.Installer.wixproj" /> | ||
</ItemGroup> | ||
</Project> |