macOSでコンパイル可能に
This commit is contained in:
BIN
macos/Hexagon.icns
Executable file
BIN
macos/Hexagon.icns
Executable file
Binary file not shown.
22
macos/Info.plist
Normal file
22
macos/Info.plist
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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>CFBundleName</key>
|
||||
<string>Hexagon</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>moe.technicalsuwako.hexagon</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>hexagon</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.0</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>Hexagon.icns</string>
|
||||
</dict>
|
||||
</plist>
|
||||
12
macos/hexagon.sh
Normal file
12
macos/hexagon.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
ADIR="$(dirname "$DIR")"
|
||||
|
||||
BIN="$ADIR/MacOS/hexagon_real"
|
||||
|
||||
osascript <<EOF
|
||||
tell application "Terminal"
|
||||
activate
|
||||
do script "\"$BIN\"; exit"
|
||||
end tell
|
||||
EOF
|
||||
Reference in New Issue
Block a user