-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
gui_definition.json
84 lines (84 loc) · 2.93 KB
/
gui_definition.json
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
{
"gui": [
{
"window_name": "Embed JSON into EXE",
"label": "Embed JSON into EXE",
"command": "./Tuw merge -j %json% -e %merged_exe% -f",
"command_win": "Tuw.exe merge -j %json% -e %merged_exe% -f",
"show_last_line": true,
"components": [
{
"type": "file",
"label": "JSON file",
"default": "gui_definition.json",
"extension": "JSON files (*.json)|*.json",
"add_quotes": true
},
{
"type": "file",
"label": "New exe path",
"id": "merged_exe",
"default": "Tuw.new.exe",
"add_quotes": true,
"platforms": "win"
},
{
"type": "file",
"label": "New exe path",
"id": "merged_exe",
"default": "./Tuw-new",
"add_quotes": true,
"platforms": ["linux", "mac"]
}
]
},
{
"window_name": "Split EXE into JSON and EXE",
"label": "Split EXE into JSON and EXE",
"command": "%merged_exe% split -j %json% -e %orig_exe% -f",
"command_win": "%merged_exe% split -j %json% -e %orig_exe% -f",
"show_last_line": true,
"components": [
{
"type": "file",
"label": "Exe file you want to split",
"id": "merged_exe",
"default": "Tuw.new.exe",
"add_quotes": true,
"platforms": "win"
},
{
"type": "file",
"label": "Exe file you want to split",
"id": "merged_exe",
"default": "./Tuw-new",
"add_quotes": true,
"platforms": ["linux", "mac"]
},
{
"type": "file",
"label": "New json file",
"default": "new.json",
"extension": "JSON files (*.json)|*.json",
"add_quotes": true
},
{
"type": "file",
"label": "New exe path",
"id": "orig_exe",
"default": "Tuw.orig.exe",
"add_quotes": true,
"platforms": "win"
},
{
"type": "file",
"label": "New exe path",
"id": "orig_exe",
"default": "./Tuw-orig",
"add_quotes": true,
"platforms": ["linux", "mac"]
}
]
}
]
}