-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
86 lines (85 loc) · 1.79 KB
/
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
'use strict';
/**
* Retrieve the inquirer definition for xcraft-core-etc
*/
module.exports = [
{
type: 'input',
name: 'mainQuest',
message: 'main quest to start',
default: null,
},
{
type: 'input',
name: 'secondaryQuest',
message: 'secondary quest to start (electron ready)',
default: null,
},
{
type: 'list',
name: 'afterLoadQuests',
message: 'quest(s) to call after host load',
default: [],
},
{
type: 'input',
name: 'openFileQuest',
message: 'quest called when a file is opened',
default: null,
},
{
type: 'input',
name: 'openUrlQuest',
message: 'quest called when a registered url is opened',
default: null,
},
{
type: 'input',
name: 'prologModuleLoad',
message: 'module loaded before the Xcraft server boot',
default: null,
},
{
type: 'confirm',
name: 'singleInstance',
message: 'boolean to makes your application a Single Instance Application',
default: false,
},
{
type: 'input',
name: 'newInstanceQuest',
message: 'quest called when a new Instance is launch',
default: null,
},
{
type: 'input',
name: 'appOptions',
message: 'add custom command line options (yargs format)',
default: null,
},
{
type: 'confirm',
name: 'disableGoblinWM',
message: 'disable goblin-wm (splash) with electron',
default: false,
},
{
type: 'checkbox',
name: 'powerSaveBlockers',
message:
'power save blockers (electron), [prevent-app-suspension, prevent-display-sleep]',
default: [],
},
{
type: 'confirm',
name: 'powerMonitorSweeper',
message: 'start the sweeper on locking',
default: false,
},
{
type: 'input',
name: 'protocols',
message: 'map of protocols',
default: {},
},
];