-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
75 lines (75 loc) · 2.39 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
module.exports = {
publicPath: './',
productionSourceMap: false,
devServer: {
open: true,
host: '0.0.0.0',
port: 8081,
https: false,
hotOnly: true,
proxy: {
'/api': {
target: 'https://api.tinybrief.app',
ws: true,
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}
}
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
preload: 'src/preload.js',
builderOptions: {
productName: 'TextCapture',
appId: 'com.tiny.text.capture',
copyright: 'Copyright © 2024 tiny. All Rights Reserved.',
artifactName: '${name}-${version}-${os}-${arch}.${ext}',
win: {
icon: './public/icon.png',
requestedExecutionLevel: 'highestAvailable',
target: [
{
target: 'nsis',
arch: ['x64', 'ia32']
}
]
},
linux: {
icon: 'build/icon.png',
target: [
{
target: 'deb',
arch: ['x64', 'arm64'] // 'armv7l'
}
],
category: 'Utility'
},
mac: {
icon: './public/icon.icns',
target: [
{
target: 'dmg',
arch: ['x64', 'arm64']
}
]
},
nsis: {
oneClick: false,
guid: 'government-affairs-text-capture',
perMachine: true,
allowElevation: true,
allowToChangeInstallationDirectory: true,
createDesktopShortcut: true,
createStartMenuShortcut: true,
shortcutName: 'TextCapture',
installerSidebar: 'public/sidebar.bmp',
uninstallerSidebar: 'public/sidebar.bmp'
},
asar: true
}
}
}
}