mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2025-04-20 19:37:00 +00:00
Updated Home (markdown)
parent
a65686fca9
commit
a1ee464522
10
Home.md
10
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 `<name>.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.
|
Loading…
x
Reference in New Issue
Block a user