forked from DonLakeFlyer/qgroundcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Windows icon and NSIS script from Hendrik
- Loading branch information
1 parent
8556a2a
commit b16faf1
Showing
13 changed files
with
232 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Name "QGroundcontrol" | ||
|
||
OutFile "qgroundcontrol-installer-win32.exe" | ||
|
||
InstallDir $PROGRAMFILES\qgroundcontrol | ||
|
||
Page license | ||
Page directory | ||
Page components | ||
Page instfiles | ||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
|
||
LicenseData ..\license.txt | ||
|
||
Section "" | ||
|
||
SetOutPath $INSTDIR | ||
File qgroundcontrol\*.* | ||
WriteUninstaller $INSTDIR\QGroundcontrol_uninstall.exe | ||
SectionEnd | ||
|
||
Section "Uninstall" | ||
Delete $INSTDIR\QGroundcontrol_uninstall.exe | ||
Delete $INSTDIR\*.* | ||
RMDir $INSTDIR | ||
Delete "$SMPROGRAMS\QGroundcontrol\*.*" | ||
RMDir "$SMPROGRAMS\QGroundcontrol\" | ||
SectionEnd | ||
|
||
Section "create Start Menu Shortcuts" | ||
CreateDirectory "$SMPROGRAMS\QGroundcontrol" | ||
CreateShortCut "$SMPROGRAMS\QGroundcontrol\uninstall.lnk" "$INSTDIR\QGroundcontrol_uninstall.exe" "" "$INSTDIR\QGroundcontrol_uninstall.exe" 0 | ||
CreateShortCut "$SMPROGRAMS\QGroundcontrol\QGroundcontrol.lnk" "$INSTDIR\qgroundcontrol.exe" "" "$INSTDIR\qgroundcontrol.exe" 0 | ||
SectionEnd |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -146,6 +146,7 @@ win32 { | |
DESTDIR = $$BASEDIR/bin | ||
} | ||
|
||
RC_FILE = $$BASEDIR/qgroundcontrol.rc | ||
} | ||
|
||
|
||
|
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 @@ | ||
IDI_ICON1 ICON DISCARDABLE "images/icons/qgroundcontrol.ico" |