Lightcord/electron-builder.yml

71 lines
1.2 KiB
YAML
Raw Normal View History

---
appId: com.squirrel.Lightcord.Lightcord
productName: Lightcord
remoteBuild: false
directories:
app: distApp
output: builds
# This is to get around the bug in electron-builder with not including nested node_modules.
afterPack: "afterpack.js"
win:
artifactName: ${name}-win32-${arch}.${ext}
target:
- target: zip
arch:
- ia32
- target: portable
arch:
- ia32
icon: discord.ico
publisherName: Lightcord
files:
- "**/*"
- "!**/*.ts"
- "!**/*.so"
- "!**/*.4"
2020-08-30 09:01:24 +02:00
- "!**/*.dylib"
- "!**/*_darwin.node"
- "!**/*_linux.node"
asarUnpack:
- "**/*.node"
- "**/*.dll"
linux:
artifactName: ${name}-linux-${arch}.${ext}
target:
2020-08-30 10:12:09 +02:00
- target: zip
arch:
- x64
# - target: AppImage
# arch:
# - x64
2020-08-30 09:01:24 +02:00
icon: discord.png
files:
- "**/*"
- "!**/*.ts"
- "!**/*.dll"
2020-08-30 09:01:24 +02:00
- "!**/*.dylib"
- "!**/discord*.node"
- "**/*_linux.node"
asarUnpack:
- "**/*_linux.node"
- "**/*.so.4"
mac:
artifactName: ${name}-darwin-${arch}.${ext}
target:
2020-08-30 10:12:09 +02:00
- target: zip
arch:
- x64
icon: discord.icns
files:
- "**/*"
- "!**/*.ts"
- "!**/*.dll"
- "!**/*.so"
- "!**/*.4"
- "!**/discord*.node"
- "**/*_darwin.node"
asarUnpack:
- "**/*_darwin.node"
- "**/*.dylib"