Some smaller changes
This commit is contained in:
parent
a588f6b6e1
commit
ef7e5d5f66
2
github
2
github
@ -1 +1 @@
|
|||||||
Subproject commit 06391c6cdd772c2f83c1387960f7224f7cd9f514
|
Subproject commit 2dd1f60e8d034a68bbca9afe294070c8a83caa9e
|
@ -49,6 +49,7 @@ function create_menu() : Menu {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}));
|
}));
|
||||||
|
menu.items[0].visible = false;
|
||||||
}
|
}
|
||||||
menu.append(new MenuItem({
|
menu.append(new MenuItem({
|
||||||
id: "help",
|
id: "help",
|
||||||
|
@ -428,7 +428,7 @@ export async function load_files(channel: string, static_cb: (message: string, i
|
|||||||
|
|
||||||
static_cb("Searching cache for file", .33);
|
static_cb("Searching cache for file", .33);
|
||||||
console.log("Loading UI from data: %o. Target path: %s", ui_info, ui_file_path(ui_info));
|
console.log("Loading UI from data: %o. Target path: %s", ui_info, ui_file_path(ui_info));
|
||||||
if(ui_info.required_client) {
|
if(ui_info.required_client && !process_args.has_flag(Arguments.DEBUG)) {
|
||||||
const ui_vers = parse_version(ui_info.required_client);
|
const ui_vers = parse_version(ui_info.required_client);
|
||||||
console.log("Checking required client version (Required: %s, Version: %s)", ui_vers.toString(true), (await current_version()).toString(true));
|
console.log("Checking required client version (Required: %s, Version: %s)", ui_vers.toString(true), (await current_version()).toString(true));
|
||||||
if(ui_vers.newer_than(await current_version())) {
|
if(ui_vers.newer_than(await current_version())) {
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "electron --js-flags='--expose-gc' --debug --dev-tools --disable-hardware-acceleration .",
|
"start": "electron --js-flags='--expose-gc' --debug --dev-tools --disable-hardware-acceleration .",
|
||||||
"start-d": "electron . --debug -t --gdb -su http://dev.clientapi.teaspeak.de/",
|
"start-d": "electron . --debug -t --gdb -su http://dev.clientapi.teaspeak.de/",
|
||||||
"start-n": "electron . -t --no-single-instance -su http://null.teaspeak.de/",
|
"start-d1": "electron . --disable-hardware-acceleration --debug -t --gdb -su http://clientapi.teaspeak.de/ --updater-ui-loader_type=0",
|
||||||
|
"start-n": "electron . -t --disable-hardware-acceleration --no-single-instance -u=https://clientapi.teaspeak.de/ -d --updater-ui-loader_type=0",
|
||||||
"start-01": "electron . --updater-channel=test -u=http://dev.clientapi.teaspeak.de/ -d --updater-ui-loader_type=0 --updater-local-version=1.0.1",
|
"start-01": "electron . --updater-channel=test -u=http://dev.clientapi.teaspeak.de/ -d --updater-ui-loader_type=0 --updater-local-version=1.0.1",
|
||||||
"compile-sass": "sass --update .:.",
|
"compile-sass": "sass --update .:.",
|
||||||
"compile-tsc": "tsc",
|
"compile-tsc": "tsc",
|
||||||
|
Loading…
Reference in New Issue
Block a user