-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js.example
37 lines (36 loc) · 1.02 KB
/
config.js.example
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
// this is config file for wrapperwrapper
// this file will be eval()'ed,
// do strict injection check!
// note: wsh object format:
// a ={
// x: 1,
// y: 2,<-- comma here will cause error
// }
(function (){
var config = {
// piPath: platform independent files path
piPath: "code",
// piTarget: platform independent files extract destnation
piTarget: ".",
// psTarget: platform specific files extract destnation
psTarget: "bin",
// psPaths: platform specific files path
psPaths:{
win_x86_64: "bin/win64",
//win_x86: "bin/win",
//linux_x86: "bin/linux",
linux_x86_64: "bin/linuxx64",
//linux_arm64: "bin/linuxaa64",
darwin_x86_64: "bin/mac"
//fbsd_x86_64: "bin/fbsdx64"
},
// command: command line to execute after extraction
command:{
win_:"bin\\php.exe -S 0.0.0.0:8088",
unixlike_:"bin/php -S 0.0.0.0:8088"
},
// requirePrivilege(WIP): should we request privilege
requirePrivilege: false
};
return config;
}())