mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 12:47:48 +00:00
- Removed package manager and engines from package.json. - Updated pnpm-lock.yaml to reflect new versions of dependencies. - Modified pnpm-workspace.yaml to include only built dependencies for Electron. - Adjusted electron-builder.yaml to exclude unnecessary files and added output directory. - Deleted obsolete electron.vite.config.ts file. - Updated main entry point in examples/electron/package.json to use CommonJS format. - Refactored scripts in examples/electron/package.json for better development experience. - Enhanced error handling and logging in game logic within examples/electron/src/routes/sverdle/+page.server.ts. - Updated adapter-electron to support new protocol handling and build processes.
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
appId: com.electron.app
|
|
productName: electron-sveltekit
|
|
directories:
|
|
buildResources: build
|
|
files:
|
|
- "!**/.vscode/*"
|
|
- "!src/*"
|
|
- "!electron.vite.config.{js,ts,mjs,cjs}"
|
|
- "!vite.electron.config.ts"
|
|
- "!{.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}"
|
|
- "out/**/*"
|
|
asarUnpack:
|
|
- resources/**
|
|
# afterSign: build/notarize.js
|
|
win:
|
|
target: ["portable"]
|
|
executableName: electron-sveltekit
|
|
nsis:
|
|
artifactName: ${name}-${version}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
mac:
|
|
entitlementsInherit: build/entitlements.mac.plist
|
|
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.
|
|
dmg:
|
|
artifactName: ${name}-${version}.${ext}
|
|
linux:
|
|
target:
|
|
- AppImage
|
|
- snap
|
|
- deb
|
|
maintainer: electronjs.org
|
|
category: Utility
|
|
appImage:
|
|
artifactName: ${name}-${version}.${ext}
|
|
npmRebuild: false
|
|
publish:
|
|
provider: generic
|
|
url: https://example.com/auto-updates
|