Skip to content

Commit 01e08bb

Browse files
authored
Update appveyor.yml
1 parent 94231b9 commit 01e08bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ build:
1212
install:
1313
- set path=c:\Program Files (x86)\WiX Toolset v3.11\bin;%path%
1414
after_build:
15+
- ps: |
16+
$guid = [System.Guid]::NewGuid().ToString().ToUpper()
17+
Write-Host "Generated GUID: $guid"
18+
(Get-Content C:\projects\pixelarttool\PixelArtTool\Installer.wxs) -replace 'PUT-GUID-HERE', $guid | Set-Content C:\projects\pixelarttool\PixelArtTool\Installer.wxs
1519
- cmd: 7z a PixelArtTool.zip %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe.config
1620
- cmd: cd %APPVEYOR_BUILD_FOLDER%
17-
- cmd: candle -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj C:\projects\pixelarttool\Installer.wxs
21+
- cmd: candle -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj C:\projects\pixelarttool\PixelArtTool\Installer.wxs
1822
- cmd: cd %APPVEYOR_BUILD_FOLDER%
1923
- cmd: light -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj
2024
- cmd: copy %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release

0 commit comments

Comments
 (0)