Skip to content

Commit d40e316

Browse files
Create bootstrapper script
1 parent d7d8d70 commit d40e316

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>bootstrapper.sh</string>
7+
</dict>
8+
</plist>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
SWIFT_SPLIT_PATH="${0%/*/*}/Resources/SwiftSplit.app/Contents/MacOS/SwiftSplit"
3+
BOOTSTRAP_SCRIPT="do shell script \"'$SWIFT_SPLIT_PATH'\" with prompt \"SwiftSplit wants to read process memory.\" with administrator privileges"
4+
osascript -e "$BOOTSTRAP_SCRIPT" &

0 commit comments

Comments
 (0)