This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
/
vue.config.js
92 lines (91 loc) · 2.21 KB
/
vue.config.js
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
86
87
88
89
90
91
92
const webpack = require("webpack");
module.exports = {
configureWebpack: {
optimization: {
splitChunks: {
chunks: "all",
},
},
},
pluginOptions: {
electronBuilder: {
preload: "src/preload.js",
builderOptions: {
productName: "Raven Reader",
appId: "org.helloefficiency.ravenreader",
afterSign: "electron-builder-notarize",
asarUnpack: ["./node_modules/node-notifier/vendor/**"],
dmg: {
sign: false,
contents: [
{
x: 410,
y: 150,
type: "link",
path: "/Applications",
},
{
x: 130,
y: 150,
type: "file",
},
],
},
mac: {
darkModeSupport: true,
publish: [
{
provider: "spaces",
name: "ridereceiptspro",
region: "sfo2",
path: "/ravenreader",
},
"github",
],
hardenedRuntime: true,
entitlements:
"./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist",
gatekeeperAssess: false,
target: {
target: "dmg",
arch: ["arm64", "x64"],
},
icon: "build/icons/icon.icns",
},
win: {
publish: [
{
provider: "spaces",
name: "ridereceiptspro",
region: "sfo2",
path: "/ravenreader",
},
"github",
],
target: ["nsis", "portable"],
icon: "build/icons/icon.ico",
},
nsis: {
oneClick: false,
},
portable: {
// eslint-disable-next-line no-template-curly-in-string
artifactName: "Raven-${version}_portable.${ext}",
},
linux: {
publish: [
{
provider: "spaces",
name: "ridereceiptspro",
region: "sfo2",
path: "/ravenreader",
},
"github",
],
category: "News",
icon: "build/icons",
},
},
},
},
};