Retro68/LaunchAPPL/Client
Ryan Schmidt 4a7b698ab4 LaunchAPPL: Fix two macOS Mini vMac launching bugs
On all macOS versions, Mini vMac would launch behind other applications
because it was being launched by running the executable within the
application bundle directly. The solution is to let the OS launch the
app normally by using the open utility. This eliminates the 30 lines of
code that laboriously determined the executable name.

On macOS 10.12 and later, Mini vMac could not find the ROM or disk
files. These files were being placed in the same directory as the Mini
vMac application, but a new macOS security measure called Gatekeeper
Path Randomization or App Translocation prevents that from working
anymore. See https://www.gryphel.com/c/minivmac/osx_note.html. The
solution is to place the ROM and disk files within the mnvm_dat
directory in the Contents directory in the application bundle.

The code that copies Mini vMac into the temporary directory had to be
moved earlier so that when the ROM file is symlinked and the disk image
is created the mnvm_dat directory into which they go will be there.

Since more than one method needed to know whether Mini vMac was an app
bundle, a Boolean instance var was added on macOS to indicate that.
2022-08-03 14:07:41 -05:00
..
Carbon.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Carbon.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Classic.cc build fixes for LaunchAPPL client 2021-12-08 21:49:45 +01:00
Classic.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
CMakeLists.txt Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Executor.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Executor.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
LaunchAPPL.cc build fixes for LaunchAPPL client 2021-12-08 21:49:45 +01:00
Launcher.cc slight cleanup in class ResourceFile 2019-08-25 17:48:02 +02:00
Launcher.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
LaunchMethod.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
LaunchMethod.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
MakeExecutable.cc slight cleanup in class ResourceFile 2019-08-25 17:48:02 +02:00
MiniVMac.cc LaunchAPPL: Fix two macOS Mini vMac launching bugs 2022-08-03 14:07:41 -05:00
MiniVMac.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Serial.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Serial.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
SharedFile.cc Fix for Boost 1.79 2022-07-31 15:58:10 +09:00
SharedFile.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
SSH.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
SSH.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
StreamBasedLauncher.cc Fixes typo in LaunchAPPL client. 2021-04-12 12:19:21 -07:00
StreamBasedLauncher.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
TCP.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
TCP.h Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Utilities.cc Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Utilities.h start a LaunchAPPL server 2018-04-27 09:05:26 +02:00