Skip to content

Commit 88d0219

Browse files
committed
[Slice-Installer.iss] Update Inno Setup config with version in installer path, updated version approach
1 parent 488b183 commit 88d0219

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

target/InnoSetup-Windows/Slice-Installer.iss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
; along with this program. If not, see <https://www.gnu.org/licenses/>.
1818

1919
#define BUILDPATH "..\..\dist\Slice.exe"
20+
#define SliceVersion "0.3.0"
2021

2122
[Setup]
2223
AppName=Slice
23-
AppVersion=GetFileVersion({#BUILDPATH})
24+
AppVersion={#SliceVersion}
2425
AppPublisher="Christopher Simpkins"
2526
AppPublisherURL=https://github.com/source-foundry/Slice
2627
AppReadmeFile=https://github.com/source-foundry/Slice/blob/main/README.md
@@ -34,7 +35,7 @@ SetupIconFile=..\..\icons\Icon.ico
3435
UninstallDisplayIcon={app}\Slice.exe
3536
Compression=lzma2
3637
SolidCompression=yes
37-
OutputBaseFilename=Slice-Installer
38+
OutputBaseFilename=Slice-{#SliceVersion}-Installer
3839
OutputDir=..\..\dist\Windows-Installer
3940
LicenseFile=..\..\LICENSE
4041

0 commit comments

Comments
 (0)