From 17cbe507a25e4a380875e7f9ddd7323dbc8d1b44 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Tue, 20 Sep 2022 03:43:20 -0500 Subject: [PATCH] MiniVMac.cc: Copy some extensions if present See: https://github.com/autc04/Retro68/issues/171 --- LaunchAPPL/Client/MiniVMac.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/LaunchAPPL/Client/MiniVMac.cc b/LaunchAPPL/Client/MiniVMac.cc index bf60cbf816..199e658fb0 100644 --- a/LaunchAPPL/Client/MiniVMac.cc +++ b/LaunchAPPL/Client/MiniVMac.cc @@ -274,6 +274,24 @@ MiniVMacLauncher::MiniVMacLauncher(po::variables_map &options) if (usesAutQuit7) { 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); } {