-
Notifications
You must be signed in to change notification settings - Fork 626
/
vue.config.js
52 lines (45 loc) · 1.64 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
module.exports = {
pluginOptions: {
electronBuilder: {
preload: './src/preload.js',
// Or, for multiple preload files:
// preload: { preload: 'src/preload.js', otherPreload: 'src/preload2.js' }
builderOptions: {
appId: 'com.linerai.liner',
afterSign: "./afterSignHook.js",
"extraResources": [{
"from": "../stable-diffusion/dist/txt2img",
"to": "core",
"filter": [
"**/*"
]
}], // access via path.join(path.dirname(__dirname), 'liner_core' );
"mac": {
"icon" : "build/Icon-1024.png" ,
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"minimumSystemVersion": "12.5.1",
"extendInfo": {
"LSMinimumSystemVersion": "12.5.1"
} ,
"target": {
"target": "dmg",
"arch": [
process.arch
]
}
},
"win": {
"icon" : "build/Icon-1024.png" ,
"target": {
"target": "NSIS",
"arch": [
process.arch
]
}
}
}
}
}
}