Add mac launcher app

This commit is contained in:
xianguo 2026-06-19 14:12:30 +08:00
parent 1bf61238a9
commit 0a93378cc8
5 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>InternalDropLauncher</string>
<key>CFBundleIdentifier</key>
<string>local.privatedrop.launcher</string>
<key>CFBundleName</key>
<string>Internal Drop Launcher</string>
<key>CFBundleDisplayName</key>
<string>Internal Drop</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
</dict>
</plist>

View File

@ -0,0 +1,4 @@
#!/bin/zsh
open -a Terminal "/Users/sin/Work/private/privatedrop/launch-internal-drop.command"
sleep 1
open "http://localhost:10051"

View File

@ -0,0 +1 @@
APPL????

View File

@ -0,0 +1,8 @@
tell application "Terminal"
activate
do script "cd /Users/sin/Work/private/privatedrop && ./internal-drop"
end tell
delay 1
do shell script "open http://localhost:10051"

3
launch-internal-drop.command Executable file
View File

@ -0,0 +1,3 @@
#!/bin/zsh
cd "/Users/sin/Work/private/privatedrop" || exit 1
./internal-drop