File size: 1,371 Bytes
391c43e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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