.app building for macos

This commit is contained in:
minjaesong
2023-05-19 15:19:13 +09:00
parent bacb40b0ef
commit 00b2db7d74
6 changed files with 6 additions and 2 deletions

BIN
buildapp/AppIcon.icns Normal file

Binary file not shown.

View File

@@ -10,9 +10,10 @@ rm -rf $DESTDIR || true
mkdir $DESTDIR mkdir $DESTDIR
mkdir $DESTDIR/Contents mkdir $DESTDIR/Contents
mkdir $DESTDIR/Contents/MacOS mkdir $DESTDIR/Contents/MacOS
mkdir $DESTDIR/Contents/Resources
# Prepare an application # Prepare an application
cp icns.png $DESTDIR/.icns cp AppIcon.icns $DESTDIR/Contents/Resources/AppIcon.icns
cp $SRCFILES/Info.plist $DESTDIR/Contents/ cp $SRCFILES/Info.plist $DESTDIR/Contents/
cp $SRCFILES/TerranBASIC.sh $DESTDIR/Contents/MacOS/ cp $SRCFILES/TerranBASIC.sh $DESTDIR/Contents/MacOS/
chmod +x $DESTDIR/Contents/MacOS/TerranBASIC.sh chmod +x $DESTDIR/Contents/MacOS/TerranBASIC.sh

View File

@@ -10,9 +10,10 @@ rm -rf $DESTDIR || true
mkdir $DESTDIR mkdir $DESTDIR
mkdir $DESTDIR/Contents mkdir $DESTDIR/Contents
mkdir $DESTDIR/Contents/MacOS mkdir $DESTDIR/Contents/MacOS
mkdir $DESTDIR/Contents/Resources
# Prepare an application # Prepare an application
cp icns.png $DESTDIR/.icns cp AppIcon.icns $DESTDIR/Contents/Resources/AppIcon.icns
cp $SRCFILES/Info.plist $DESTDIR/Contents/ cp $SRCFILES/Info.plist $DESTDIR/Contents/
cp $SRCFILES/TerranBASIC.sh $DESTDIR/Contents/MacOS/ cp $SRCFILES/TerranBASIC.sh $DESTDIR/Contents/MacOS/
chmod +x $DESTDIR/Contents/MacOS/TerranBASIC.sh chmod +x $DESTDIR/Contents/MacOS/TerranBASIC.sh

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -4,4 +4,5 @@
<key>CFBundleExecutable</key><string>TerranBASIC.sh</string> <key>CFBundleExecutable</key><string>TerranBASIC.sh</string>
<key>CFBundleDisplayName</key><string>TerranBASIC</string> <key>CFBundleDisplayName</key><string>TerranBASIC</string>
<key>CFBundleName</key><string>TerranBASIC</string> <key>CFBundleName</key><string>TerranBASIC</string>
<key>CFBundleIconFile</key><string>AppIcon.icns</string>
</dict></plist> </dict></plist>

View File

@@ -4,4 +4,5 @@
<key>CFBundleExecutable</key><string>TerranBASIC.sh</string> <key>CFBundleExecutable</key><string>TerranBASIC.sh</string>
<key>CFBundleDisplayName</key><string>TerranBASIC</string> <key>CFBundleDisplayName</key><string>TerranBASIC</string>
<key>CFBundleName</key><string>TerranBASIC</string> <key>CFBundleName</key><string>TerranBASIC</string>
<key>CFBundleIconFile</key><string>AppIcon.icns</string>
</dict></plist> </dict></plist>