mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-01 23:41:39 +00:00
allow updating total.data alone
This commit is contained in:
parent
6d4cb74788
commit
8e5df26b37
13
winmake.bat
13
winmake.bat
|
@ -21,9 +21,9 @@ set CADIUS=cadius
|
|||
rem https://github.com/
|
||||
set GIT=git
|
||||
|
||||
|
||||
if "%1" equ "dsk" (
|
||||
call :index
|
||||
if "%2". equ "". (
|
||||
call :asmproboot
|
||||
call :asmlauncher
|
||||
1>nul copy /y res\blank.hdv "build\%DISK%" >>build\log
|
||||
|
@ -40,8 +40,10 @@ cscript /nologo bin\buildfileinfo.js build\FX "06" "6000" >>build/log
|
|||
rem
|
||||
rem add everything to the disk
|
||||
rem
|
||||
)
|
||||
echo|set/p="adding files..."
|
||||
%CADIUS% ADDFILE "build\%DISK%" "/%VOLUME%/" "build\TOTAL.DATA" >>build\log
|
||||
if "%2". equ "". (
|
||||
%CADIUS% ADDFILE "build\%DISK%" "/%VOLUME%/" "build\PREFS.CONF" >>build\log
|
||||
%CADIUS% ADDFILE "build\%DISK%" "/%VOLUME%/" "res\Finder.Data" >>build\log
|
||||
%CADIUS% ADDFILE "build\%DISK%" "/%VOLUME%/" "res\Finder.Root" >>build\log
|
||||
|
@ -61,6 +63,7 @@ for %%q in (res\dsk\*.po) do %CADIUS% EXTRACTVOLUME "%%q" build\X\ >>build\log
|
|||
%CADIUS% CREATEFOLDER "build\%DISK%" "/%VOLUME%/X/" >>build\log
|
||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/X" "build\X" >>build\log
|
||||
cscript /nologo bin\changebootloader.js "build\%DISK%" build\proboothd
|
||||
)
|
||||
echo done
|
||||
goto :EOF
|
||||
)
|
||||
|
@ -71,7 +74,15 @@ goto :EOF
|
|||
)
|
||||
|
||||
if "%1" equ "clean" (
|
||||
if "%2". neq "". (
|
||||
1>nul move build\%DISK%
|
||||
)
|
||||
echo y|1>nul 2>nul rd build /s
|
||||
if "%2". neq "". (
|
||||
md build
|
||||
1>nul move %DISK% build\%DISK%
|
||||
%CADIUS% DELETEFILE "build\%DISK%" "/%VOLUME%/TOTAL.DATA" >>build\log
|
||||
)
|
||||
goto :EOF
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user