Add mac launcher app
This commit is contained in:
parent
1bf61238a9
commit
0a93378cc8
23
Internal Drop Launcher.app/Contents/Info.plist
Normal file
23
Internal Drop Launcher.app/Contents/Info.plist
Normal 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>
|
||||||
4
Internal Drop Launcher.app/Contents/MacOS/InternalDropLauncher
Executable file
4
Internal Drop Launcher.app/Contents/MacOS/InternalDropLauncher
Executable 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"
|
||||||
1
Internal Drop Launcher.app/Contents/PkgInfo
Normal file
1
Internal Drop Launcher.app/Contents/PkgInfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
APPL????
|
||||||
8
launch-internal-drop.applescript
Normal file
8
launch-internal-drop.applescript
Normal 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
3
launch-internal-drop.command
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
cd "/Users/sin/Work/private/privatedrop" || exit 1
|
||||||
|
./internal-drop
|
||||||
Loading…
x
Reference in New Issue
Block a user