Skip to content

Create an Executable Shortcut on macOS

Eliran Wong edited this page Jun 6, 2022 · 13 revisions

Create an Executable Shortcut on macOS

With UBA installed, you can create an executable shortcut on macOS.

With that, you can launch UniqueBible.app from Applications directory or a spotlight search.

spotlight

Steps:

  1. Open Automator

  2. Create a workflow

  3. Save as an Application

  4. Change Icon

1 - Open Automator

Launch Automator from Applications directory

automator1

Choose "Application"

automator2

2 - Create a workflow

Drag the file UniqueBible/uba.sh to the Automator.

[Please note that the file we work on here is "uba.sh" not "uba.py"]

appShortcut1

In search field, enter "open", and drag "Open Finder Items" to the area on the right side.

appShortcut2

Change the "Open with" option to "Other"

workflow3

Locate and open "Utilities"

workflow4

Select "Terminal"

workflow5

3 - Save as an Application

Select "Save" from "File" menu.

appShortcut3

Enter "UniqueBible" next to "Save As:" and change "Where" option to "Applications"

save2

Select "Save".

save3

4 - Change Icon

Locate "UniqueBible" app in Applications directory.

save4

Right-click the UniqueBible app in Applications directory, and select "Get Info".

replace_icon0

Drag the UniqueBible.app icon from UniqueBible/htmlResources/UniqueBibleApp.png to the top part of the "Info" panel.

replace_icon1 replace_icon2

Launching the Shortcut for the First Time

System asks users for access permission for the first run. Simply select "OK"

appShortcut4

Done!

You can now launch Unique Bible app from Applications directory or spotlight search.

Applications_folder open
Clone this wiki locally