mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
sync
This commit is contained in:
parent
689ed36499
commit
d3383a78cf
8
bin/extract.js
Normal file
8
bin/extract.js
Normal file
@ -0,0 +1,8 @@
|
||||
a = new ActiveXObject("scripting.filesystemobject")
|
||||
for (b = new Enumerator(a.GetFolder(WScript.Arguments(0)).files); !b.atEnd(); b.moveNext())
|
||||
{
|
||||
if (a.GetExtensionName(b.item()).toLowerCase() == "po")
|
||||
{
|
||||
new ActiveXObject("WScript.Shell").run("cadius EXTRACTVOLUME " + '"' + b.item() + '"' + " build/X/", 0)
|
||||
}
|
||||
}
|
@ -111,6 +111,14 @@ cscript /nologo bin/buildfileinfo.js build\SS "04" "4000" >>build\log
|
||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/DEMO" "build/DEMO" >>build\log
|
||||
1>nul copy /y res\fx\* build\FX >>build\log
|
||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/FX" "build/FX" >>build\log
|
||||
%CADIUS% CREATEFOLDER "build\%DISK%" "/%VOLUME%/X/" >>build/log
|
||||
cscript /nologo bin/do2po.js res\dsk build\po
|
||||
1>nul copy /y res\dsk\*.po build\po
|
||||
cscript /nologo bin/extract.js build\po >>build/log
|
||||
echo y|1>nul 2>nul del /s build\X\.DS_Store
|
||||
echo y|1>nul 2>nul del /s build\X\PRODOS
|
||||
echo y|1>nul 2>nul del /s build\X\LOADER.SYSTEM
|
||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/X" "build/X" >>build/log
|
||||
cscript /nologo bin/changebootloader.js "build\%DISK%" res\proboothd
|
||||
goto :EOF
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user