Skip to content

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Noah committed Jul 6, 2019
1 parent 99ecd41 commit da6f4b3
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bzflag-launcher.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
!define HELPURL "http://github.com/The-Noah/bzflag-launcher" # "Support Information" link
!define ABOUTURL "http://github.com/The-Noah/" # "Publisher" link
# This is the size (in kB) of all the files copied into the install location
!define INSTALLSIZE 9
!define INSTALLSIZE 109

RequestExecutionLevel user

Expand All @@ -26,12 +26,12 @@ InstallDir "$LOCALAPPDATA\Programs\${APPNAME}"
#LicenseData "LICENSE"
# This will be in the installer/uninstaller's title bar
Name "${APPNAME}"
#Icon "icon.ico"
OutFile "${APPID}.${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONREVISION}.exe"

!include LogicLib.nsh

!define MUI_ABORTWARNING
!define MUI_ICON "src\icon.ico"

!insertmacro MUI_PAGE_LICENSE "LICENSE"
!insertmacro MUI_PAGE_INSTFILES
Expand Down
107 changes: 107 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/bzflag-launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
Expand All @@ -73,5 +76,9 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
<Content Include="OneDrive.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Binary file added src/icon.ico
Binary file not shown.

0 comments on commit da6f4b3

Please sign in to comment.