Skip to content

Commit 438f1c8

Browse files
author
Antoine Aflalo
committed
Setup add the changelog. Fixes #3
1 parent 23019d5 commit 438f1c8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Installer/setup.iss

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Source: "{#ExeDir}x64\*.dll"; DestDir: "{app}"; Check: IsX64
6161
Source: "{#ExeDir}x86\SoundSwitch.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode
6262
Source: "{#ExeDir}x86\*.dll"; DestDir: "{app}"; Check: not Is64BitInstallMode
6363

64+
Source: "{#ExeDir}CHANGELOG.md"; DestDir: "{app}"
65+
6466

6567
[Icons]
6668
Name: "{group}\{#MyAppSetupName}"; Filename: "{app}\SoundSwitch.exe"

Make.bat

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
setlocal
33
cd /d "%~dp0"
44

5-
set x86Release="Final\x86"
6-
set x64Release="Final\x64"
5+
set finalDir="Final"
6+
set x86Release="%finalDir%\x86"
7+
set x64Release="%finalDir%\x64"
78

89
net session 1>nul 2>nul
910
if not "%ERRORLEVEL%"=="0" (
@@ -45,6 +46,9 @@ Echo.
4546

4647
if "%builderror%"=="1" echo error: build failed & goto Quit
4748

49+
echo "Copy Changelog"
50+
xcopy /y CHANGELOG.md %finalDir% 1>nul 2>nul
51+
4852
Echo "Copy x64"
4953
xcopy /y x64\Release\*.dll %x64Release% 1>nul 2>nul
5054
xcopy /y x64\Release\SoundSwitch.exe %x64Release% 1>nul 2>nul

0 commit comments

Comments
 (0)