productName: OctoLauncher
appId: st.octowow.launcher
directories:
  buildResources: build
  output: distprod
files:
  - '!**/.vscode/*'
  - '!src/*'
  - '!electron.vite.config.{js,ts,mjs,cjs}'
  - '!*.md'
  - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,.prettierrc.cjs,dev-app-update.yml}'
  - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
  - '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
  - '!*.tsbuildinfo'
  - '!{tailwind.config.ts,postcss.config.cjs}'
  - '!dist*/**'
  - '!out/main/chunks/**'
  - '!{.gitea,.github}/**'
  - '!Tools/**'
  - '!**/builder-debug.yml'
  - '!**/electron-builder.*'
  - '!.launcher/**'
  - '!WTF/**'
  - '!server/**'
  - '!scripts/**'
  - '!**/node_modules/**/{__tests__,test,tests,docs,example,examples,demo,demos,benchmark,benchmarks}/**'
  - '!**/node_modules/**/*.{tsx,map,markdown}'
  - '!**/node_modules/**/build/Release/obj/**'
  - '!**/node_modules/**/build/Release/{*.iobj,*.ipdb,*.recipe,*.exp,*.lib,*.pdb,*.obj}'
  - '!**/node_modules/**/*.{vcxproj,vcxproj.filters}'
npmRebuild: false
electronLanguages: en
extraResources:
  - from: resources/aria2c.exe
    to: aria2c.exe
win:
  artifactName: ${productName}.${ext}
  target:
    - nsis
nsis:
  # versioned: differential updates need the old blockmap to stay fetchable
  artifactName: ${productName}_Installer-${version}.${ext}
  uninstallDisplayName: ${productName}
  oneClick: false
  removeDefaultUninstallWelcomePage: true
publish:
  - provider: generic
    url: 'https://octowow.st/launcher-updates/'
