7 Commits

Author SHA1 Message Date
1150675570 chore: change the coordinates 2023-12-25 17:02:08 +01:00
d6b63d86cd feat: dmg background and other tweaks 2023-12-22 17:23:12 +01:00
0bf6b64dd2 fix: ci mv command 2023-12-18 20:47:02 +01:00
c3d059c2e7 fix: not providing settings for mac 2023-12-17 01:15:26 +01:00
8937ad72c8 chore: bye icns 2023-12-17 01:07:23 +01:00
e067061273 chore: change xcode version 2023-12-17 01:02:29 +01:00
13e5ac1951 ci: add macos 2023-12-17 00:59:56 +01:00
3 changed files with 43 additions and 1 deletions

View File

@@ -19,9 +19,20 @@ jobs:
- run: yarn - run: yarn
- run: yarn build-electron-linux - run: yarn build-electron-linux
- run: mkdir /tmp/artifacts - run: mkdir /tmp/artifacts
- run: mv -t /tmp/artifacts dist/*.snap dist/*.AppImage - run: mv -t /tmp/artifacts dist/*.AppImage
- store_artifacts: - store_artifacts:
path: /tmp/artifacts path: /tmp/artifacts
build_macos:
macos:
xcode: 14.2.0
steps:
- checkout
- run: yarn
- run: yarn build-electron-mac
- run: mkdir /tmp/artifacts
- run: mv dist/*.dmg /tmp/artifacts
- store_artifacts:
path: /tmp/artifacts
workflows: workflows:
build: build:
@@ -34,3 +45,6 @@ workflows:
- build_linux: - build_linux:
requires: requires:
- hold - hold
- build_macos:
requires:
- hold

BIN
icons/dmgbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -49,6 +49,8 @@
"vite": "^4.4.0" "vite": "^4.4.0"
}, },
"build": { "build": {
"appId": "dev.sern.gui",
"productName": "sern GUI",
"files": [ "files": [
"./build/**/*", "./build/**/*",
"./dist/index.js" "./dist/index.js"
@@ -59,6 +61,32 @@
"win": { "win": {
"icon": "./icons/icon.ico", "icon": "./icons/icon.ico",
"publisherName": "sern" "publisherName": "sern"
},
"mac": {
"icon": "./icons/icon.icns",
"category": "public.app-category.developer-tools",
"target": [
"dmg",
"zip"
]
},
"dmg": {
"background": "./icons/dmgbg.png",
"icon": "./icons/icon.icns",
"title": "sern GUI",
"contents": [
{
"x": 423,
"y": 203,
"type": "link",
"path": "/Applications"
},
{
"x": 117,
"y": 203,
"type": "file"
}
]
} }
} }
} }