init
BIN
build/macos/AppIcon.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
build/macos/AppIcon.iconset/icon_128x128@2x.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
build/macos/AppIcon.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
build/macos/AppIcon.iconset/icon_16x16@2x.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
build/macos/AppIcon.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
build/macos/AppIcon.iconset/icon_256x256@2x.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
build/macos/AppIcon.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
build/macos/AppIcon.iconset/icon_32x32@2x.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
build/macos/AppIcon.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
build/macos/AppIcon.iconset/icon_512x512@2x.png
Normal file
After Width: | Height: | Size: 99 KiB |
17
build/macos/create_icns.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
rm -rf AppIcon.iconset/*
|
||||
mkdir -p AppIcon.iconset
|
||||
sips -z 16 16 ../icon_1024x1024.png --out AppIcon.iconset/icon_16x16.png
|
||||
sips -z 32 32 ../icon_1024x1024.png --out AppIcon.iconset/icon_16x16@2x.png
|
||||
sips -z 32 32 ../icon_1024x1024.png --out AppIcon.iconset/icon_32x32.png
|
||||
sips -z 64 64 ../icon_1024x1024.png --out AppIcon.iconset/icon_32x32@2x.png
|
||||
sips -z 128 128 ../icon_1024x1024.png --out AppIcon.iconset/icon_128x128.png
|
||||
sips -z 256 256 ../icon_1024x1024.png --out AppIcon.iconset/icon_128x128@2x.png
|
||||
sips -z 256 256 ../icon_1024x1024.png --out AppIcon.iconset/icon_256x256.png
|
||||
sips -z 512 512 ../icon_1024x1024.png --out AppIcon.iconset/icon_256x256@2x.png
|
||||
sips -z 512 512 ../icon_1024x1024.png --out AppIcon.iconset/icon_512x512.png
|
||||
cp ../icon_1024x1024.png AppIcon.iconset/icon_512x512@2x.png
|
||||
iconutil -c icns AppIcon.iconset
|
||||
mkdir -p src/Game.app/Contents/Resources
|
||||
mv AppIcon.icns src/Game.app/Contents/Resources/
|
17
build/macos/create_icns_linux.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
rm -rf AppIcon.iconset/*
|
||||
mkdir -p AppIcon.iconset
|
||||
convert ../icon_1024x1024.png -resize 16x16 AppIcon.iconset/icon_16x16.png
|
||||
convert ../icon_1024x1024.png -resize 32x32 AppIcon.iconset/icon_16x16@2x.png
|
||||
convert ../icon_1024x1024.png -resize 32x32 AppIcon.iconset/icon_32x32.png
|
||||
convert ../icon_1024x1024.png -resize 64x64 AppIcon.iconset/icon_32x32@2x.png
|
||||
convert ../icon_1024x1024.png -resize 128x128 AppIcon.iconset/icon_128x128.png
|
||||
convert ../icon_1024x1024.png -resize 256x256 AppIcon.iconset/icon_128x128@2x.png
|
||||
convert ../icon_1024x1024.png -resize 256x256 AppIcon.iconset/icon_256x256.png
|
||||
convert ../icon_1024x1024.png -resize 512x512 AppIcon.iconset/icon_256x256@2x.png
|
||||
convert ../icon_1024x1024.png -resize 512x512 AppIcon.iconset/icon_512x512.png
|
||||
cp ../icon_1024x1024.png AppIcon.iconset/icon_512x512@2x.png
|
||||
png2icns ./AppIcon.icns AppIcon.iconset/icon_16x16.png AppIcon.iconset/icon_32x32.png AppIcon.iconset/icon_128x128.png AppIcon.iconset/icon_256x256.png AppIcon.iconset/icon_512x512.png
|
||||
mkdir -p src/Game.app/Contents/Resources
|
||||
mv AppIcon.icns src/Game.app/Contents/Resources/
|
29
build/macos/src/Game.app/Contents/Info.plist
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>yachtpit</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>yachtpit</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>AppIcon.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.gs.yachtpit</string> <!-- ToDo replace all instances with io.gs.yachtpit -->
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>yachtpit</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<!-- Version -->
|
||||
<string>0.1.0</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|