Import current DEMON v0.19 source, assets and development handoff

This commit is contained in:
JariKo
2026-10-28 15:39:06 +02:00
commit 2b9ae06592
347 changed files with 14404 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from pathlib import Path
import shutil
root=Path(__file__).resolve().parent.parent
src=root/'Demon_v0.13.1'
if src.exists():raise SystemExit('0.13.1 already exists')
shutil.copytree(root/'Demon_v0.13',src)
for name in ['main.gd','addons/build_stamp/plugin.gd','export_presets.cfg','workshop_tests.gd','README_RU.md','README_0.13.md']:
p=src/name
p.write_text(p.read_text(encoding='utf-8-sig').replace('0.13','0.13.1'),encoding='utf-8')
for original,new in [('build_v13.ps1','build_v131.ps1'),('package_v13.py','package_v131.py')]:
data=(root/'tools'/original).read_text(encoding='utf-8-sig')
data=data.replace('Demon_v0.13','Demon_v0.13.1').replace("'0.13'","'0.13.1'").replace("'0.13-'","'0.13.1-'")
data=data.replace('build_v13.ps1','build_v131.ps1').replace('package_v13.py','package_v131.py').replace("root/'qa'","root/'qa_v131'")
(root/'tools'/new).write_text(data,encoding='utf-8')
(root/'qa_v131').mkdir(exist_ok=True)
print('Prepared Demon 0.13.1')