Files
solidtime-desktop/electron-builder.yml
2024-08-28 15:02:11 +02:00

70 lines
1.9 KiB
YAML

appId: io.solidtime.desktop
productName: solidtime
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
protocols:
name: solidtime
schemes:
- solidtime
win:
executableName: solidtime
nsis:
artifactName: ${name}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlementsInherit: build/entitlements.mac.plist
target:
target: default
arch:
- x64
- arm64
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: true
dmg:
artifactName: ${name}-${arch}.${ext}
linux:
artifactName: ${name}-${arch}.${ext}
icon: build/icon.icns
target:
- target: deb
arch:
- x64
- arm64
- target: snap
- target: tar.gz
arch:
- x64
- arm64
- target: rpm
arch:
- x64
- arm64
desktop: # Define desktop elem
name: solidtime
exec: solidtime %U
MimeType: x-scheme-handler/solidtime
maintainer: solidtime.io
category: Utility
mimeTypes:
- x-scheme-handler/solidtime
appImage:
artifactName: ${name}.${ext}
npmRebuild: false
publish:
provider: github