-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.config.js
45 lines (40 loc) · 943 Bytes
/
app.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
const {
devServer,
devTempBuildFolder,
name: NAME,
author: AUTHOR,
version: VERSION,
displayName: TITLE,
description: DESCRIPTION,
} = require('./package.json')
exports.APP_CONFIG = {
APP_ID: `org.daisy.${NAME}`.toLowerCase(),
NAME,
TRAY_TITLE: TITLE,
ARTIFACT_NAME: TITLE.replaceAll(' ', '-').toLowerCase(),
TITLE: `${TITLE} - App`,
AUTHOR,
VERSION,
DESCRIPTION,
MAIN: {
WINDOW: {
WIDTH: 1500,
HEIGHT: 1000,
},
},
RENDERER: {
DEV_SERVER: {
URL: devServer,
},
},
FOLDERS: {
ENTRY_POINTS: {
MAIN: './src/main/index.ts',
BRIDGE: './src/renderer/bridge/index.ts',
RENDERER: './src/renderer/index.tsx',
},
INDEX_HTML: 'src/renderer/index.html',
RESOURCES: 'src/resources',
DEV_TEMP_BUILD: devTempBuildFolder,
},
}