diff --git a/Makefile b/Makefile index 9d893c1..b3658d5 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ build-darwin: mkdir -p SGDBoop.app/Contents/Resources cp LICENSE SGDBoop.app/Contents/Resources/LICENSE.txt cp res/mac/AppIcon.icns SGDBoop.app/Contents/Resources/AppIcon.icns + cp res/mac/Assets.car SGDBoop.app/Contents/Resources/Assets.car cp res/mac/Info.plist SGDBoop.app/Contents/Info.plist /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $(VERSION)" SGDBoop.app/Contents/Info.plist /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $(VERSION)" SGDBoop.app/Contents/Info.plist diff --git a/res/mac/Assets.car b/res/mac/Assets.car new file mode 100644 index 0000000..67dc24a Binary files /dev/null and b/res/mac/Assets.car differ diff --git a/res/mac/README.md b/res/mac/README.md new file mode 100644 index 0000000..4290ed6 --- /dev/null +++ b/res/mac/README.md @@ -0,0 +1 @@ +`AppIcon.icns` & `Assets.car` is generated from `Apple Icon.icon` by making a dummy Xcode project, importing `Apple Icon.icon`, then checking "Include All App Icon Assets" under "General -> App Icons and Launch Screen" and "Build Settings -> Asset Catalog Compiler" the icon name should also be set under those options to whatever the file name is. Finally just build the app and grab the 2 files from the built Hello World .app. \ No newline at end of file