Files
cloudlink/desktop/package.json
T
nmemmertandClaude Sonnet 4.6 d7771aef1f
Build & Release / Docker / backend (push) Successful in 1m5s
Build & Release / Docker / frontend (push) Successful in 4m26s
Build & Release / Desktop / Linux & Windows (push) Failing after 13m30s
Build & Release / Create release (push) Has been cancelled
Build & Release / Deploy to server (push) Has been cancelled
fix: add repository/author to desktop package.json, use --publish never in CI
electron-builder auto-detects CI and tries to publish to a release,
requiring a repository field and failing when none is found.
- Add repository and author fields to desktop/package.json
- Pass --publish never to electron-builder in the workflow so it builds
  installers without attempting any publish step

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-28 11:03:47 -04:00

54 lines
1.3 KiB
JSON

{
"name": "cloudlink-desktop",
"version": "1.0.0",
"description": "CloudLink — encrypted messaging and cloud drive",
"repository": "https://git.necloud.us/nate/cloudlink",
"author": "Nate",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder --mac --win --linux",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win",
"build:linux": "electron-builder --linux"
},
"build": {
"appId": "us.necloud.cloudlink",
"productName": "CloudLink",
"copyright": "Copyright © 2026",
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"assets/**"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "assets/icon.icns",
"target": [{ "target": "dmg", "arch": ["x64", "arm64"] }]
},
"win": {
"icon": "assets/icon.ico",
"target": [{ "target": "nsis", "arch": ["x64"] }]
},
"linux": {
"icon": "assets/icon.png",
"category": "Network",
"target": [{ "target": "AppImage", "arch": ["x64"] }]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"devDependencies": {
"electron": "^33.0.0",
"electron-builder": "^25.0.0"
},
"dependencies": {
"electron-store": "^10.0.0"
}
}