summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/macapp/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-26 22:37:40 +0800
committerruki <[email protected]>2025-11-26 22:37:40 +0800
commit2a9075318d77e8c7fe514754873be61ec9f2cd7d (patch)
tree576b8c7c81341eadd1cc1df4a75b8d9905df404b /tests/plugins/pack/macapp/src
parenteba4c503ccaf873a87ec1f867ba3dffd98b45800 (diff)
add icon in macapp
Diffstat (limited to 'tests/plugins/pack/macapp/src')
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/Contents.json10
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_128x128.pngbin0 -> 11992 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]bin0 -> 24378 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_16x16.pngbin0 -> 1377 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]bin0 -> 2478 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_256x256.pngbin0 -> 24378 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]bin0 -> 91627 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_32x32.pngbin0 -> 2478 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]bin0 -> 5022 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_512x512.pngbin0 -> 91627 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]bin0 -> 269353 bytes
-rw-r--r--tests/plugins/pack/macapp/src/Info.plist2
-rw-r--r--tests/plugins/pack/macapp/src/assets/xmake.icobin0 -> 119943 bytes
13 files changed, 11 insertions, 1 deletions
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/Contents.json b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/Contents.json
index 9d5c8a516..6fa879752 100644
--- a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -1,51 +1,61 @@
{
"images" : [
{
+ "filename" : "icon_16x16.png",
"idiom" : "mac",
"size" : "16x16",
"scale" : "1x"
},
{
+ "filename" : "[email protected]",
"idiom" : "mac",
"size" : "16x16",
"scale" : "2x"
},
{
+ "filename" : "icon_32x32.png",
"idiom" : "mac",
"size" : "32x32",
"scale" : "1x"
},
{
+ "filename" : "[email protected]",
"idiom" : "mac",
"size" : "32x32",
"scale" : "2x"
},
{
+ "filename" : "icon_128x128.png",
"idiom" : "mac",
"size" : "128x128",
"scale" : "1x"
},
{
+ "filename" : "[email protected]",
"idiom" : "mac",
"size" : "128x128",
"scale" : "2x"
},
{
+ "filename" : "icon_256x256.png",
"idiom" : "mac",
"size" : "256x256",
"scale" : "1x"
},
{
+ "filename" : "[email protected]",
"idiom" : "mac",
"size" : "256x256",
"scale" : "2x"
},
{
+ "filename" : "icon_512x512.png",
"idiom" : "mac",
"size" : "512x512",
"scale" : "1x"
},
{
+ "filename" : "[email protected]",
"idiom" : "mac",
"size" : "512x512",
"scale" : "2x"
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_128x128.png b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_128x128.png
new file mode 100644
index 000000000..5d787b620
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_128x128.png
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected] b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..be7f6c4f2
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_16x16.png b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_16x16.png
new file mode 100644
index 000000000..8b2771975
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_16x16.png
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected] b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..331c7af96
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_256x256.png b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_256x256.png
new file mode 100644
index 000000000..be7f6c4f2
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_256x256.png
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected] b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..a5677925b
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_32x32.png b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_32x32.png
new file mode 100644
index 000000000..331c7af96
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_32x32.png
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected] b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..c8e5ac0c2
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_512x512.png b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_512x512.png
new file mode 100644
index 000000000..a5677925b
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/icon_512x512.png
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected] b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..d6533fea6
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary files differ
diff --git a/tests/plugins/pack/macapp/src/Info.plist b/tests/plugins/pack/macapp/src/Info.plist
index f111cb4c3..477a62fd7 100644
--- a/tests/plugins/pack/macapp/src/Info.plist
+++ b/tests/plugins/pack/macapp/src/Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
- <string></string>
+ <string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
diff --git a/tests/plugins/pack/macapp/src/assets/xmake.ico b/tests/plugins/pack/macapp/src/assets/xmake.ico
new file mode 100644
index 000000000..52c8ef389
--- /dev/null
+++ b/tests/plugins/pack/macapp/src/assets/xmake.ico
Binary files differ