mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added script to produce zip only version
This commit is contained in:
@@ -41,4 +41,24 @@ REM copy the dependencies
|
||||
echo D|xcopy /Y /S /E .\dependencies .\package\dependencies
|
||||
|
||||
REM other version tags are changed after compilation only in the package folder and should not be committed
|
||||
call node .\scripts\node\set_version_text.js
|
||||
call node .\scripts\node\set_version_text.js
|
||||
|
||||
REM create the package for the zip version
|
||||
mkdir zip
|
||||
|
||||
REM copy the main configuration file
|
||||
echo F|xcopy /Y .\package\olympus.json .\zip\config\olympus.json
|
||||
|
||||
REM copy the hooks script
|
||||
echo F|xcopy /Y .\package\Scripts\OlympusHook.lua .\zip\Scripts\Hooks\OlympusHook.lua
|
||||
|
||||
REM copy the mod folder
|
||||
echo D|xcopy /Y /S /E .\package\mod .\zip\Mods\Services\Olympus
|
||||
|
||||
REM copy the frontend
|
||||
echo D|xcopy /Y /S /E .\package\frontend .\zip\Mods\Services\Olympus\frontend
|
||||
|
||||
REM install the node_modules in the frontend
|
||||
cd .\zip\Mods\Services\Olympus\frontend
|
||||
call npm install
|
||||
cd ..\..\..\..\..
|
||||
|
||||
Reference in New Issue
Block a user