-
Notifications
You must be signed in to change notification settings - Fork 16
Running Moonshine instance through Moonshine IDE
The following instructions are valid both for macOS and Windows. Tested on macOS El Capitan, macOS High Sierra, macOS Mojave and Windows 10.
This requires running of non-Sandbox (non-App-Store) version of Moonshine-IDE instance on macOS. You can download non-Sandbox Moonshine-IDE from here: https://moonshine-ide.com/download.
You also have the Moonshine-IDE source downloaded from its GitHub web-site. Moonshine-IDE can help if you not already:
- Run Moonshine-IDE
- It assumes you have Git binary path already configured to
Moonshine -> Settings
- Go to
Git -> Manage Repositories
from top-down menu - Click on the entry with repository URL https://github.com/prominic/Moonshine-IDE
- Click on Clone button
- Proceed with the prompted dialog and download the sources to location you want
- Once completed Moonshine should prompt with "Select Projects to Open" dialog containing list of projects (those been found in downloaded source directories); Choose one or more to Open, or just ide/MoonshineDESKTOPevolved
- Go to
Git -> Manage Repositories
- Search for the named "Moonshine-IDE Dependencies (https://github.com/prominic/Moonshine-IDE)" entry
- Select the entry and click on Browse
- This shall open you a list of project references either type of required and optional
- Click on the dependency named "Dependency: Moonshine-SDK-Installer (https://github.com/prominic/Moonshine-SDK-Installer)", and click on Clone button
- Have the project downloaded from GitHub to your desired location
- You can either choose to open any project or cancel when "Select Projects to Open" prompt appear next
- It assumes you have MoonshineDESKTOPevolved project already opened in the IDE's sidebar
- Right-click on the project's root-node in sidebar, and chose Settings
- Go to Build Options in opening window
- First item Custom SDK - you choose to set any particular SDK here or use Moonshine's global set SDK (
Moonshine -> Settings
). Moonshine source currently build with Apache Flex SDK 4.16.1 and AIR 28.0. For more information on setting Moonshine SDKs please refer here - In Additional Compiler Option fields make the following changes:
-
-define+=CONFIG::OSX,true
to-define+=CONFIG::OSX,false
- Remove
-external-library-path+=extensions/SSB.ane
To support macOS sandbox/restrictions Moonshine-IDE uses separate API to handle file-system, and acts differently by above options set. In case of running Moonshine instance through Moonshine-IDE in sandbox environment, we need to have those special handlers removed (when run) because they can't run in sandbox environment through a sandbox application, which is Moonshine-IDE
- Go to Paths
- Make sure all the pre-defined dependency paths are correct by a green tick next to them. If any needs to fix based on your downloaded locations, please do fix and Save the settings
- Having the MoonshineDESKTOPevolved project selected in sidebar, press CMD+Shift+R (on macOS) or Ctrl+Shift+R (on Windows) to open file-search dialog
- Type or search for
MoonshineDESKTOP-app.xml
- Once found double-click the file to open in editor
- Scroll down to bottom and comment-out this line
<extensions><extensionID>karar.santanu.SecurityScopeBookmark</extensionID></extensions>
and save the file - Open MoonshineSharedCore project in the IDE's sidebar
- Having the MoonshineSharedCore project selected in sidebar, press CMD+Shift+R (on macOS) or Ctrl+Shift+R (on Windows) to open file-search dialog
- Type or search for
InstallConfig.xml
and double-click the file to open in editor - Replace
$isAppStoreVersion
withfalse
and save the file - Having the MoonshineDESKTOPevolved project selected in sidebar, go to
Project -> Build & Run
from top-down menu - You should see some activities in Moonshine console at bottom and eventually a new Moonshine instance should start
- Connect to a custom language server
- Updating the bundled debug adapters
- Updating the bundled language servers
- Known Issues
- Running Moonshine instance through Moonshine IDE
- Link Related Projects with moonshine dependencies.xml
- Moonshine IDE release steps
- Settings Directories