Copy 8000000000000000 too

This commit is contained in:
Sims 2025-01-16 21:25:40 +01:00 committed by GitHub
parent 31ef417dfb
commit 4ed145f372
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,6 +178,15 @@ writeSys = {
if (copyfile(combinepath(cwd(), "SYSTEM/save/8000000000000120"), "bis:/save/8000000000000120")) {
fatal(fatalMsg = "Failed to copy system save")
}
if (!fsexists("bis:/save/8000000000000000"))
{
p("\nWarning: 8000000000000000 does not exist. This save won't be signed! Copying")
if (copyfile(combinepath(cwd(), "SYSTEM/save/8000000000000000"), "bis:/save/8000000000000000")) {
fatal(fatalMsg = "Failed to copy fs save index save")
}
}
p("\n")
}