mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Set version in msix
This commit is contained in:
parent
2b584f3a4b
commit
3f5c8929c3
1 changed files with 4 additions and 2 deletions
|
@ -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\package.xml installer\packages\io.github.nhekoreborn.nheko\meta
|
||||||
- copy %BUILD%\deploy\installer\gui\installscript.qs 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
|
# Amend version and date
|
||||||
- sed -i "s/__VERSION__/0.11.3/" installer\config\config.xml
|
- sed -i "s/__VERSION__/%VERSION%/" 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\packages\io.github.nhekoreborn.nheko\meta\package.xml
|
||||||
- sed -i "s/__DATE__/%DATE%/" 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
|
# Copy nheko data
|
||||||
- xcopy NhekoData\*.* installer\packages\io.github.nhekoreborn.nheko\data\*.* /s /e /c /y
|
- 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
|
- xcopy .\NhekoRelease\*.* msix\*.* /s /e /c /y
|
||||||
- copy %BUILD%\resources\nheko.png msix
|
- copy %BUILD%\resources\nheko.png msix
|
||||||
- copy %BUILD%\resources\AppxManifest.xml 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'
|
- '"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
|
- copy nheko-installer.exe nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe
|
||||||
|
|
Loading…
Reference in a new issue