aboutsummaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/AppIcon.icnsbin0 -> 640554 bytes
-rw-r--r--dist/AppIcon.icobin0 -> 1143198 bytes
-rw-r--r--dist/hoardom.desktop10
-rw-r--r--dist/mac-launcher.sh19
4 files changed, 29 insertions, 0 deletions
diff --git a/dist/AppIcon.icns b/dist/AppIcon.icns
new file mode 100644
index 0000000..ee6dafc
--- /dev/null
+++ b/dist/AppIcon.icns
Binary files differ
diff --git a/dist/AppIcon.ico b/dist/AppIcon.ico
new file mode 100644
index 0000000..dc96ce9
--- /dev/null
+++ b/dist/AppIcon.ico
Binary files differ
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