Skip to content

Commit

Permalink
Merge branch 'winfixes' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-cao committed Jul 17, 2023
2 parents b6a1c90 + db8c644 commit bec25ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/mkinstaller
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
##
########################################################################

# This script creates a windows installer package. It requires innosetup to
# This script creates a windows installer package. It requires innosetup 6 to
# be installed

set -e

export PATH="$PATH:/c/Program Files (x86)/Inno Setup 5"
export PATH="$PATH:/c/Program Files (x86)/Inno Setup 6"

function build()
{
Expand Down
6 changes: 3 additions & 3 deletions dist/switchtec.iss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#define AppVersionStr GetFileProductVersion("x86_64-w64-mingw32/switchtec.exe")
#define AppVersion GetFileVersion("x86_64-w64-mingw32/switchtec.exe")
#define AppVersion GetVersionNumbersString("x86_64-w64-mingw32/switchtec.exe")

[Setup]
AppName=Switchtec Management CLI
AppVersion={#AppVersionStr}
VersionInfoVersion={#AppVersion}
DefaultDirName={pf}\Switchtec
DefaultDirName={commonpf}\Switchtec
Compression=lzma2
SolidCompression=yes
ArchitecturesInstallIn64BitMode=x64
Expand Down Expand Up @@ -94,4 +94,4 @@ procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usPostUninstall
then EnvRemovePath(ExpandConstant('{app}'));
end;
end;

0 comments on commit bec25ec

Please sign in to comment.