Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt: create windows desktop shortcut during installation #3003

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added frontends/qt/BitBox-installer.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions frontends/qt/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ SetCompressor /SOLID lzma
!define ICONDIR "resources\win"
!define APP_EXE "BitBox.exe"
!define AOPP_EXE "$\"$INSTDIR\${APP_EXE}$\" $\"%1$\""
!define APP_NAME "BitBoxApp"

# MUI Symbol Definitions
!define MUI_ICON "${ICONDIR}\icon.ico"
Expand Down Expand Up @@ -103,6 +104,9 @@ Section -Main SEC0000
#File /r /x Makefile* @abs_top_srcdir@/doc\*.*
SetOutPath $INSTDIR
WriteRegStr HKCU "${REGKEY}\Components" Main 1

# Create a shortcut on the desktop
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${APP_EXE}" "" "" 0
SectionEnd

Section -post SEC0001
Expand Down
Loading