mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Adjust build script for Windows Store ARM version.
This commit is contained in:
parent
be53bec9b7
commit
e4e2f47f8e
1 changed files with 6 additions and 2 deletions
|
@ -279,7 +279,9 @@ echo Done!
|
||||||
if %BuildUWP% neq 0 (
|
if %BuildUWP% neq 0 (
|
||||||
cd "%HomePath%"
|
cd "%HomePath%"
|
||||||
|
|
||||||
mkdir "%ReleasePath%\AppX\modules\%Platform%\d3d"
|
if %BuildARM% equ 0 (
|
||||||
|
mkdir "%ReleasePath%\AppX\modules\%Platform%\d3d"
|
||||||
|
)
|
||||||
xcopy "Resources\uwp\AppX\*" "%ReleasePath%\AppX\" /E
|
xcopy "Resources\uwp\AppX\*" "%ReleasePath%\AppX\" /E
|
||||||
set "ResourcePath=%ReleasePath%\AppX\AppxManifest.xml"
|
set "ResourcePath=%ReleasePath%\AppX\AppxManifest.xml"
|
||||||
call :repl "Argument= (ProcessorArchitecture=)"ARCHITECTURE"/ $1"%Platform%"" "Filename=!ResourcePath!" || goto error
|
call :repl "Argument= (ProcessorArchitecture=)"ARCHITECTURE"/ $1"%Platform%"" "Filename=!ResourcePath!" || goto error
|
||||||
|
@ -288,7 +290,9 @@ if %BuildUWP% neq 0 (
|
||||||
|
|
||||||
xcopy "%ReleasePath%\%BinaryName%.exe" "%ReleasePath%\AppX\"
|
xcopy "%ReleasePath%\%BinaryName%.exe" "%ReleasePath%\AppX\"
|
||||||
xcopy "%ReleasePath%\StartupTask.exe" "%ReleasePath%\AppX\"
|
xcopy "%ReleasePath%\StartupTask.exe" "%ReleasePath%\AppX\"
|
||||||
xcopy "%ReleasePath%\modules\%Platform%\d3d\d3dcompiler_47.dll" "%ReleasePath%\AppX\modules\%Platform%\d3d\"
|
if %BuildARM% equ 0 (
|
||||||
|
xcopy "%ReleasePath%\modules\%Platform%\d3d\d3dcompiler_47.dll" "%ReleasePath%\AppX\modules\%Platform%\d3d\"
|
||||||
|
)
|
||||||
|
|
||||||
MakeAppx.exe pack /d "%ReleasePath%\AppX" /l /p ..\out\Release\%BinaryName%.%Platform%.appx
|
MakeAppx.exe pack /d "%ReleasePath%\AppX" /l /p ..\out\Release\%BinaryName%.%Platform%.appx
|
||||||
if %errorlevel% neq 0 goto error
|
if %errorlevel% neq 0 goto error
|
||||||
|
|
Loading…
Add table
Reference in a new issue