mirror of
https://github.com/JaCzekanski/Avocado.git
synced 2024-05-20 04:50:32 -04:00
macos: added manifest and app icon
This commit is contained in:
parent
9e18a68c5c
commit
1177196ce8
|
@ -43,7 +43,7 @@ wget -ncv https://gist.github.com/JaCzekanski/d7a6e06295729a3f81bd9bd488e9d37d/r
|
|||
mkdir -p $ARTIFACT
|
||||
mkdir -p $ARTIFACT/usr/share/avocado
|
||||
cp -r data $ARTIFACT/usr/share/avocado/
|
||||
cp android/app/src/main/ic_launcher-web.png $ARTIFACT/avocado.png
|
||||
cp misc/avocado.png $ARTIFACT/avocado.png
|
||||
|
||||
# Remove .gitignore
|
||||
find $ARTIFACT -type f -name .gitignore -exec rm {} \;
|
||||
|
|
|
@ -22,6 +22,14 @@ mkdir -p $ARTIFACT
|
|||
cp -r build/release_x64/avocado.app $ARTIFACT/avocado.app
|
||||
mkdir -p $ARTIFACT/avocado.app/Contents/Resources
|
||||
cp -r data $ARTIFACT/avocado.app/Contents/Resources
|
||||
cp misc/macos/Info.plist $ARTIFACT/avocado.app/Contents
|
||||
|
||||
# Create icon
|
||||
wget -ncv https://raw.githubusercontent.com/jamf/icns-Creator/master/icns_creator.sh
|
||||
chmod +x icns_creator.sh
|
||||
./icns_creator.sh misc/avocado.png avocado
|
||||
rm -rf avocado.iconset
|
||||
mv avocado.icns $ARTIFACT/avocado.app/Contents/Resources/
|
||||
|
||||
# Remove .gitignore
|
||||
find $ARTIFACT -type f -name .gitignore -exec rm {} \;
|
||||
|
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
22
misc/macos/Info.plist
Normal file
22
misc/macos/Info.plist
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en-US</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>avocado</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>avocado.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>info.czekanski.avocado</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Avocado</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in a new issue