diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-29 23:02:19 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 13:04:39 +0100 |
commit | 3f5c8929c3406fc6c7c748ebc9cfb95c97a8bc39 (patch) | |
tree | 48f537350c16fe663696f2c9491f03a89d3625d9 /appveyor.yml | |
parent | Update German Translation (diff) | |
download | nheko-3f5c8929c3406fc6c7c748ebc9cfb95c97a8bc39.tar.xz |
Set version in msix
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 7597c09f..5f3c7ba3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -93,8 +93,8 @@ after_build: - copy %BUILD%\deploy\installer\gui\package.xml installer\packages\io.github.nhekoreborn.nheko\meta - copy %BUILD%\deploy\installer\gui\installscript.qs installer\packages\io.github.nhekoreborn.nheko\meta # Amend version and date - - sed -i "s/__VERSION__/0.11.3/" installer\config\config.xml - - sed -i "s/__VERSION__/0.11.3/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml + - sed -i "s/__VERSION__/%VERSION%/" installer\config\config.xml + - sed -i "s/__VERSION__/%VERSION%/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml - sed -i "s/__DATE__/%DATE%/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml # Copy nheko data - xcopy NhekoData\*.* installer\packages\io.github.nhekoreborn.nheko\data\*.* /s /e /c /y @@ -110,6 +110,8 @@ after_build: - xcopy .\NhekoRelease\*.* msix\*.* /s /e /c /y - copy %BUILD%\resources\nheko.png msix - copy %BUILD%\resources\AppxManifest.xml msix + - del msix\vc_redist* + - 'sed -i "s/ Version=[^ ]*/ Version=\"%WINVERSION%\"/" msix\AppxManifest.xml' - '"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe" pack -d msix -p nheko.msix' - copy nheko-installer.exe nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe |