appId: com.oswstudio.app productName: OSW Studio copyright: Copyright © 2026 OSW Studio directories: output: dist app: app extraMetadata: main: main.js author: name: OSW Studio email: otst@oswstudio.com asar: false files: - "**/*" - "!**/.env" - "!node_modules/@img/sharp-*/**" - "!node_modules/sharp/**" mac: target: - target: dmg arch: - universal icon: electron/icons/icon.icns category: public.app-category.developer-tools darkModeSupport: true x64ArchFiles: "**/*.node" dmg: artifactName: OSW-Studio-${version}-${arch}.${ext} win: target: - nsis icon: electron/icons/icon.png nsis: oneClick: false allowToChangeInstallationDirectory: true # Explicit, space-free name so the built file, the uploaded GitHub asset, and # the generated latest.yml all agree. The default ("OSW Studio Setup x.y.z.exe") # is sanitized differently by electron-builder (spaces to hyphens in latest.yml) # and by GitHub (spaces to dots in the asset name), which broke the Windows # auto-updater with a 404 on the download URL. artifactName: OSW-Studio-Setup-${version}.${ext} appImage: artifactName: OSW-Studio-${version}-${arch}.${ext} linux: target: - AppImage - deb icon: electron/icons/icon.png category: Development publish: provider: github owner: o-stahl repo: osw-studio