Throught this guide, replace "MyApplication" with the name of your application.
Create the following files:
MyApplication.app
|-- Contents
|-- MacOS
|-- MyApplication # this is your apps executable file
# Any supportive CLI programs can go here as well
|-- Resources
|-- MyApplication.icns # See below for info on how to create this
|-- Info.plist # download this file from below
Download Info.plist
. You can edit it for the specific needs of your applicaiton.
Use this guide to create MyApplication.icns
To get the installation location of the app, use Deno to get the PID and then run ps <pid>
to get a list of stuff, which should contain the command used to start the app. Join this to Deno.cwd()
, and you will have the location of the executable.