diff --git a/build/icon.icns b/build/icon.icns index 28644aa..144bfa5 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/build/icon.png b/build/icon.png index f3703eb..2f6b1c9 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/build/icon.svg b/build/icon.svg new file mode 100644 index 0000000..e2769cb --- /dev/null +++ b/build/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/electron-builder.yml b/electron-builder.yml index 806e863..dad8134 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -1,5 +1,7 @@ -appId: com.electron.app productName: oxygen-desktop +copyright: Copyright © 2017-2024 FatWeb. All rights reserved. +appId: top.fatweb.oxygen.desktop +artifactName: ${name}-${version}-${os}-${arch}.${ext} directories: buildResources: build files: @@ -12,13 +14,35 @@ files: asarUnpack: - resources/** win: - executableName: oxygen-desktop + target: + - target: nsis + arch: + - x64 + - ia32 + - arm64 + - target: msi + arch: + - x64 + - ia32 + - arm64 + - target: zip + arch: + - x64 + - ia32 + - arm64 nsis: - artifactName: ${name}-${version}-setup.${ext} - shortcutName: ${productName} - uninstallDisplayName: ${productName} - createDesktopShortcut: always + oneClick: false + allowToChangeInstallationDirectory: true + artifactName: ${name}-${version}-${os}-${arch}-setup.${ext} + shortcutName: Oxygen Desktop + createDesktopShortcut: true +msi: + oneClick: false + shortcutName: Oxygen Desktop mac: + category: public.app-category.productivity + target: + - default entitlementsInherit: build/entitlements.mac.plist extendInfo: - NSCameraUsageDescription: Application requests access to the device's camera. @@ -26,17 +50,37 @@ mac: - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder. - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. notarize: false -dmg: - artifactName: ${name}-${version}.${ext} linux: target: - - AppImage - - snap - - deb - maintainer: electronjs.org + - target: AppImage + arch: + - x64 + - arm64 + - armv7l + - target: deb + arch: + - x64 + - arm64 + - armv7l + - target: rpm + arch: + - x64 + - arm64 + - armv7l + - target: pacman + arch: + - x64 + - arm64 + - armv7l + - target: tar.gz + arch: + - x64 + - arm64 + - armv7l category: Utility -appImage: - artifactName: ${name}-${version}.${ext} + desktop: + Name: Oxygen Desktop + Comment: Oxygen Toolbox multi-platform desktop version npmRebuild: false publish: provider: generic diff --git a/package.json b/package.json index a101a2a..d637a73 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,14 @@ { "name": "oxygen-desktop", + "private": true, "version": "1.0.0-SNAPSHOT", "description": "Oxygen Toolbox multi-platform desktop version", "main": "./out/main/index.js", - "author": "FatttSnake", + "author": { + "name": "FatttSnake", + "email": "fatttsnake@fatweb.top", + "url": "https://fatweb.top" + }, "homepage": "https://tool.fatweb.top", "scripts": { "dev": "electron-vite dev --sourcemap --remote-debugging-port=9000",