From a1ee464522be1a0ab3165f75f1c1ab50dd3043b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20A=2E=20=C3=81lvarez?= Date: Sat, 4 Jun 2016 11:08:23 +0200 Subject: [PATCH] Updated Home (markdown) --- Home.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Home.md b/Home.md index 231dde8..a710490 100644 --- a/Home.md +++ b/Home.md @@ -16,13 +16,3 @@ For each variant, there is a framework target that compiles all the necessary C These can be generated with the Mini vMac build system, `EMCONFIG.h` is taken as it is, and parts of `CNFGGLOB.h` and `CNFGRAPI.h` are selected and put into the bundle's [`CNFGGLOB.h`](https://github.com/zydeco/minivmac4ios/blob/master/Mini%20vMac/MacPlus4M/CNFGGLOB.h), which also includes a shared [`CNFGGLOB.h`](https://github.com/zydeco/minivmac4ios/blob/master/Mini%20vMac/CNFGGLOB.h) with values common to all variants. Each framework also has an [`Info.plist`](https://github.com/zydeco/minivmac4ios/blob/master/Mini%20vMac/MacPlus4M/Info.plist) and an [icon](https://github.com/zydeco/minivmac4ios/blob/master/Mini%20vMac/MacPlus4M/Icon.png) that is shown in settings. The frameworks are copied to the `PlugIns` directory and renamed to `.mnvm` when building the app. The app looks for plugins with a `.mnvm` extension, and shows them in the settings screen. - -To add a new variant, [follow these easy steps](http://imgur.com/a/YW5g3): -* Duplicate one of the framework targets and rename it -* Also rename the duplicated scheme that is created automatically -* In Finder, duplicate the source folder, and also rename it -* Add it to the Xcode project as a group under `Mini vMac/Emulator Bundles`. Unmark `Copy items if needed` and all targets -* In the `Copy Bundle Resources` phase of the new target, remove the resources (only icon PNGs for now) from the old target, and add the new ones -* In build settings, change the `Info.plist file` setting to `$(SRCROOT)/Mini vMac/$(PRODUCT_NAME)/Info.plist` -* In the Mini vMac target's `Build Phases`, add the new framework to the `Embed Frameworks` phase -Then you can change the icon, `EMCONFIG.h` and `CNFGGLOB.h` for the new bundle, and the files from mnvm_core it should compile. The files generated by the Mini vMac build system are helpful for figuring this out. \ No newline at end of file