Added debug options in package folder for manager

This commit is contained in:
Pax1601
2024-01-04 11:05:47 +01:00
parent a512b0e405
commit 38027b6ff3
13 changed files with 58 additions and 18 deletions

View File

@@ -26,6 +26,3 @@ cd ..
cd manager
call npm run build-release
cd ..
REM other version tags are changed after compilation only in the build folder and should not be committed
call node .\scripts\node\set_version_text.js

View File

@@ -17,6 +17,9 @@ echo D|xcopy /Y /S /E .\scripts\lua\backend .\package\mod\scripts
REM copy the mod folder
echo D|xcopy /Y /S /E .\mod .\package\mod
REM copy the databases folder
echo D|xcopy /Y /S /E .\databases .\package\mod\databases
REM copy the backend dll
echo F|xcopy /Y /I .\build\backend\bin\*.dll .\package\mod\bin
@@ -37,3 +40,5 @@ echo F|xcopy /Y .\notes.txt .\package\notes.txt
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

View File

@@ -33,7 +33,7 @@ fs.readFile("./version.json", "utf8", (error, data) => {
const minor = arr[1];
const minorminor = arr[2];
throughDirectory("./build");
throughDirectory("./package");
files.forEach((file) => {
fs.readFile(file, 'utf8', function (err,data) {