diff --git a/.github/workflows/build_electron.yml b/.github/workflows/build_electron.yml index e3c3060a1..4568f784b 100644 --- a/.github/workflows/build_electron.yml +++ b/.github/workflows/build_electron.yml @@ -7,7 +7,7 @@ on: jobs: build_macos: - runs-on: macOS-latest + runs-on: macOS-26 steps: - uses: actions/checkout@v6 diff --git a/apps/electron/package.json b/apps/electron/package.json index 8befc7acd..8b46ca4dc 100644 --- a/apps/electron/package.json +++ b/apps/electron/package.json @@ -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" diff --git a/apps/electron/src/assets/ontime.icon/Assets/ontime-icon.png b/apps/electron/src/assets/ontime.icon/Assets/ontime-icon.png new file mode 100644 index 000000000..26b863721 Binary files /dev/null and b/apps/electron/src/assets/ontime.icon/Assets/ontime-icon.png differ diff --git a/apps/electron/src/assets/ontime.icon/icon.json b/apps/electron/src/assets/ontime.icon/icon.json new file mode 100644 index 000000000..ecb52ca6b --- /dev/null +++ b/apps/electron/src/assets/ontime.icon/icon.json @@ -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" + } +} \ No newline at end of file