Skip to content

Commit

Permalink
Added NSIS installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Apr 28, 2018
1 parent 3ad3ef0 commit f6dca6d
Show file tree
Hide file tree
Showing 6 changed files with 1,216 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Build_SelfContained.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cd PokeD.Server.NetCore
dotnet publish -c Release -r win-x86
dotnet publish -c Release -r win-x64
dotnet publish -c Release -r linux-x64
dotnet publish -c Release -r linux-arm
dotnet publish -c Release -r osx-x64
603 changes: 603 additions & 0 deletions Installers/Windows/win-x64-installer.nsi

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions Installers/Windows/win-x86-installer.nsi

Large diffs are not rendered by default.

Binary file added Installers/icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion PokeD.Server.NetCore/Extensions/ReleaseExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static ReleaseAsset GetReleaseAsset(this Release release)
break;
}

return release.Assets?.SingleOrDefault(asset => asset.Name == $"{runtimeIdentifier}.zip");
return release.Assets?.SingleOrDefault(asset => asset.Name == $"{runtimeIdentifier}-installer.exe");
}
}
}
3 changes: 3 additions & 0 deletions PokeD.Server.NetCore/PokeD.Server.NetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
</ItemGroup>

<ItemGroup>
<None Update="icon.ico">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Scripts\Kolben\command_pong.klb">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit f6dca6d

Please sign in to comment.