Skip to content

Commit

Permalink
fix(win_installer): correct the HotKey parameter for icon
Browse files Browse the repository at this point in the history
  • Loading branch information
clementb49 committed Jan 18, 2025
1 parent 4dbdfa3 commit fc702b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions win_installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#endif

[setup]
WiZardStyle=modern
AppVersion={#MyAppVersion}
AppName=basiliskLLM
AppPublisher=SigmaNight
Expand Down Expand Up @@ -53,7 +54,7 @@ Name: "DesktopIcon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
name: "StartupIcon"; Description: "{cm:AutoStartProgram,{#SetupSetting("AppName")}}"; GroupDescription: "{cm:AutoStartProgramGroupDescription}"; Flags: unchecked

[Icons]
Name: "{group}\{#SetupSetting("AppName")}"; Filename: "{app}\basilisk.exe"; Parameters: "-n"; WorkingDir: "{app}"; hotkey: "CTRL+ALT+SHIFT+A"
Name: "{group}\{#SetupSetting("AppName")}"; Filename: "{app}\basilisk.exe"; Parameters: "-n"; WorkingDir: "{app}"; HotKey: "ctrl+alt+a"
Name: "{autodesktop}\{#SetupSetting("AppName")}"; Filename: "{app}\basilisk.exe"; Parameters: "-n"; WorkingDir: "{app}"; Tasks: DesktopIcon
Name: "{autostartup}\{#SetupSetting("AppName")}"; Filename: "{app}\basilisk.exe"; Parameters: "-n -m"; WorkingDir: "{app}"; Tasks: StartupIcon; flags: runminimized

Expand Down Expand Up @@ -90,7 +91,7 @@ begin
begin
if not FileExists(DestPath) then
begin
if not FileCopy(SourcePath, DestPath, False) then
if not CopyFile(SourcePath, DestPath, False) then
begin
MsgBox(FmtMessage(CustomMessage('CopyFileError'), [SourcePath, DestPath]), mbError, MB_OK);
Exit;
Expand Down

0 comments on commit fc702b9

Please sign in to comment.