forked from kocxyz/Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
85 lines (82 loc) · 2.46 KB
/
electron-builder.yml
File metadata and controls
85 lines (82 loc) · 2.46 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
appId: net.ipgg.knockoutcitylauncher
productName: Knockout City Launcher
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}'
- '!**/.github/*'
asarUnpack:
- resources/**
extraResources:
# Special case for regedit
- from: node_modules/regedit/vbs
to: regedit/vbs
filter:
- '**/*'
# Include only needed dependencies with their dependency chains
- from: node_modules
to: node_modules
filter:
# The axios dependency chain causing issues - more comprehensive
- axios/**/*
- call-bind-apply-helpers/**/*
- function-bind/**/*
- get-intrinsic/**/*
- has-symbols/**/*
- has-proto/**/*
- dunder-proto/**/*
- get-proto/**/*
- es-set-tostringtag/**/*
- es-errors/**/*
- form-data/**/*
- mime-db/**/*
- mime-types/**/*
- combined-stream/**/*
- delayed-stream/**/*
- asynckit/**/*
# Other critical dependencies you're using
- fs-extra/**/*.js
- discord-rpc/**/*.js
- jszip/**/*.js
- lodash/**/*.js
- moment/**/*.js
- react-color/**/*.js
- sudo-prompt/**/*.js
- tree-kill/**/*.js
- unzipper/**/*.js
- vdf/**/*.js
- zustand/**/*.js
# Exclude unnecessary files
- '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}'
- '!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}'
- '!**/node_modules/*.d.ts'
- '!**/node_modules/.bin'
- '!**/node_modules/.git'
- '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}'
- '!**/._*'
- '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes}'
- '!**/{appveyor.yml,.travis.yml,circle.yml}'
- '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}'
win:
executableName: koclauncherv2
nsis:
artifactName: koclauncher-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
deleteAppDataOnUninstall: true
linux:
target:
- AppImage
# - snap
# - deb
maintainer: kocity.xyz
category: Game
appImage:
artifactName: koclauncher.${ext}
npmRebuild: false