Before starting, make sure you have the most recent version of Atmosphir in your Applications folder.
Step 1: The script
Step 1A: Open up AppleScript Editor. You can search for it via Spotlight Search, or go to the application directly at this path:
Applications/Utilities/Script Editor.app
Step 1B: Upon opening the editor, a blank AppleScript should be there for you to write the code on.
Here is the code:
Code: Select all
set appleScriptPath to POSIX path of ((path to me as text) & "::")
set appName to name of me
set atmosphirExecutable to appleScriptPath & appName & ".app/Contents/Atmosphir.app/Atmosphir.app/Contents/MacOS/Atmosphir"
tell application "Terminal"
do script atmosphirExecutable & " standalone"
end tell
Save the document to wherever you want except Applications for now. Once it saves, it should look like this:
Step 2: Export Script to Application
Step 2A: Go to
File > Export... and export as a Application, and export it to Applications. Name it "Atmosphir Launcher Bypass" or something you like. We will be changing the name later.
Step 2B: Find your original Atmosphir application, and copy it.
Step 2C: Go to your exported script (which should be in Applications). Right click it, and press "Show Package Contents." Paste your copied Atmosphir into the
Contents folder.
Step 2D: Remove the original Atmosphir.app from Applications.
Step 2E: Rename your "Atmosphir Launcher Bypass" application to just "Atmosphir".
Congratulations! You now have a Atmosphir that doesn't take 50 seconds to start! Upon launching the new Atmosphir.app you created, Terminal will launch, and then will launch the real Atmosphir but with the launcher bypassed.
Right now your newly created Atmosphir.app doesn't have the Atmosphir icon, so lets fix that.
Step 3: Fix Icon
Step 3A: Right click your newly created Atmosphir.app and press "Show Package Contents", then follow these steps:
- Cotents
Right click Atmosphir.app and press "Show Package Contents"
Right click Atmosphir.app and press "Show Package Contents"
Cotents
Resources
Once you are there, copy file "UnityPlayer.icns"
Step 3B: Go BACK to Applications, right click your newly created Atmosphir.app and press "Show Package Contents", then go to
Content/Resources and paste the "UnityPlayer.icns" in there.
Step 3C: Delete "applet.icns" and rename "UnityPlayer.icns" to "applet.icns"
The icon fix will not be applied immediately. Force quitting Finder or restarting your computer should apply the change.
Congratulations! Now you have a Atmosphir that works and looks sexy as heck. Good job.