Skip to content

Commit

Permalink
Fix installer
Browse files Browse the repository at this point in the history
  • Loading branch information
c0re100 committed Oct 25, 2024
1 parent 16a2be2 commit f04ebe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/windows/config.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_x64"
!endif

!define /ifndef QBT_DIST_DIR "qBittorrent Enhanced"
!define /ifndef QBT_DIST_DIR "qBittorrent"
!define /ifndef QBT_NSIS_PLUGINS_DIR "NSISPlugins"

Unicode true
Expand Down Expand Up @@ -81,7 +81,7 @@ XPStyle on
Name "qBittorrent ${QBT_INSTALLER_WINDOWNAME}"

; The file to write
OutFile "qbittorrent_${QBT_INSTALLER_FILENAME}_setup.exe"
OutFile "qbittorrent_enhanced_${QBT_INSTALLER_FILENAME}_setup.exe"

;Installer Version Information
VIAddVersionKey "ProductName" "qBittorrent Enhanced"
Expand Down
1 change: 1 addition & 0 deletions dist/windows/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Section $(inst_qbt_req) ;"qBittorrent (required)"
File "${QBT_DIST_DIR}\qbittorrent.exe"
File "qt.conf"
File /nonfatal /r /x "${QBT_DIST_DIR}\qbittorrent.exe" "${QBT_DIST_DIR}\*.*"
Exec '"cmd.exe" /c COMPACT /C "$INSTDIR\qbittorrent.pdb"'

; Write the installation path into the registry
WriteRegStr HKLM "Software\qBittorrent" "InstallLocation" "$INSTDIR"
Expand Down

0 comments on commit f04ebe7

Please sign in to comment.