refactor: icon compatibility with macos tahoe

This commit is contained in:
Carlos Valente
2026-03-11 20:06:09 +01:00
committed by Carlos Valente
parent 26d887c1a6
commit a7a78702b1
4 changed files with 540 additions and 440 deletions
+3 -4
View File
@@ -14,7 +14,7 @@
"main": "src/main.js",
"devDependencies": {
"electron": "38.2.1",
"electron-builder": "26.0.18",
"electron-builder": "26.8.1",
"wait-on": "^7.2.0"
},
"scripts": {
@@ -29,8 +29,7 @@
"appId": "no.lightdev.ontime",
"asar": true,
"dmg": {
"artifactName": "ontime-macOS-${arch}.dmg",
"icon": "icon.icns"
"artifactName": "ontime-macOS-${arch}.dmg"
},
"mac": {
"notarize": true,
@@ -46,7 +45,7 @@
]
},
"category": "public.app-category.productivity",
"icon": "icon.icns"
"icon": "ontime.icon"
},
"win": {
"target": "nsis"
Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

@@ -0,0 +1,62 @@
{
"fill-specializations" : [
{
"value" : "system-dark"
},
{
"appearance" : "dark",
"value" : "system-dark"
}
],
"groups" : [
{
"layers" : [
{
"blend-mode-specializations" : [
{
"appearance" : "dark",
"value" : "normal"
}
],
"glass-specializations" : [
{
"value" : false
},
{
"appearance" : "dark",
"value" : false
},
{
"appearance" : "tinted",
"value" : false
}
],
"hidden" : false,
"image-name" : "ontime-icon.png",
"name" : "ontime-icon",
"position" : {
"scale" : 1,
"translation-in-points" : [
-0.5,
-113
]
}
}
],
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"translucency" : {
"enabled" : true,
"value" : 0.5
}
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
+475 -436
View File
File diff suppressed because it is too large Load Diff