MiniVMac.cc: Copy some extensions if present

See: https://github.com/autc04/Retro68/issues/171
This commit is contained in:
Ryan Schmidt 2022-09-20 03:43:20 -05:00
parent 104f61d5bf
commit 17cbe507a2

View File

@ -274,6 +274,24 @@ MiniVMacLauncher::MiniVMacLauncher(po::variables_map &options)
if (usesAutQuit7) if (usesAutQuit7)
{ {
CopySystemFile("Finder", true); CopySystemFile("Finder", true);
CopySystemFile("System 7.5 Update", false);
if(hfs_chdir(sysvol, "Extensions") != -1)
{
hfs_mkdir(vol, "Extensions");
if(hfs_chdir(vol, "Extensions") != -1)
{
CopySystemFile("Appearance Extension", false);
CopySystemFile("System 7 Tuner", false);
CopySystemFile("System Update", false);
hfs_chdir(vol, "::");
}
hfs_chdir(sysvol, "::");
}
}
else
{
CopySystemFile("32-Bit QuickDraw", false);
CopySystemFile("TrueType\xaa 1.0", false);
} }
{ {