diff options
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/AppIcon.icns | bin | 0 -> 640554 bytes | |||
| -rw-r--r-- | dist/AppIcon.ico | bin | 0 -> 1143198 bytes | |||
| -rw-r--r-- | dist/hoardom.desktop | 10 | ||||
| -rw-r--r-- | dist/mac-launcher.sh | 19 |
4 files changed, 29 insertions, 0 deletions
diff --git a/dist/AppIcon.icns b/dist/AppIcon.icns Binary files differnew file mode 100644 index 0000000..ee6dafc --- /dev/null +++ b/dist/AppIcon.icns diff --git a/dist/AppIcon.ico b/dist/AppIcon.ico Binary files differnew file mode 100644 index 0000000..dc96ce9 --- /dev/null +++ b/dist/AppIcon.ico diff --git a/dist/hoardom.desktop b/dist/hoardom.desktop new file mode 100644 index 0000000..1c03702 --- /dev/null +++ b/dist/hoardom.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=hoardom +Comment=Domain hoarding made less painful +Exec=hoardom-app +Icon=hoardom +Terminal=false +Type=Application +Categories=Utility;Network; +Keywords=domain;dns;whois;rdap;tld; +StartupNotify=false diff --git a/dist/mac-launcher.sh b/dist/mac-launcher.sh new file mode 100644 index 0000000..c384cae --- /dev/null +++ b/dist/mac-launcher.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# hoardom app launcher - opens Terminal with TUI +SELF_DIR="$(cd "$(dirname "$0")" && pwd)" +HOARDOM="/usr/local/bin/hoardom" + +# try installed binary first, fall back to bundled copy +if [ ! -x "$HOARDOM" ]; then + HOARDOM="$SELF_DIR/hoardom-bin" +fi + +if [ -x "$HOARDOM" ]; then + osascript \ + -e 'tell application "Terminal"' \ + -e ' activate' \ + -e " do script \"'$HOARDOM' --tui\"" \ + -e 'end tell' +else + osascript -e 'display dialog "hoardom binary not found" buttons {"OK"} default button "OK"' +fi |
