Some smaller changes

This commit is contained in:
WolverinDEV
2019-07-24 20:27:10 +02:00
parent a588f6b6e1
commit ef7e5d5f66
4 changed files with 5 additions and 3 deletions
+1 -1
Submodule github updated: 06391c6cdd...2dd1f60e8d
+1
View File
@@ -49,6 +49,7 @@ function create_menu() : Menu {
}
]
}));
menu.items[0].visible = false;
}
menu.append(new MenuItem({
id: "help",
+1 -1
View File
@@ -428,7 +428,7 @@ export async function load_files(channel: string, static_cb: (message: string, i
static_cb("Searching cache for file", .33);
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);
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())) {
+2 -1
View File
@@ -8,7 +8,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"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-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",
"compile-sass": "sass --update .:.",
"compile-tsc": "tsc",