From ef7e5d5f66175e29eca9eefb4e3ce5520833b3e1 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 24 Jul 2019 20:27:10 +0200 Subject: [PATCH] Some smaller changes --- github | 2 +- modules/core/main_window.ts | 1 + modules/core/ui-loader/loader.ts | 2 +- package.json | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/github b/github index 06391c6..2dd1f60 160000 --- a/github +++ b/github @@ -1 +1 @@ -Subproject commit 06391c6cdd772c2f83c1387960f7224f7cd9f514 +Subproject commit 2dd1f60e8d034a68bbca9afe294070c8a83caa9e diff --git a/modules/core/main_window.ts b/modules/core/main_window.ts index 0cfdf96..09233bc 100644 --- a/modules/core/main_window.ts +++ b/modules/core/main_window.ts @@ -49,6 +49,7 @@ function create_menu() : Menu { } ] })); + menu.items[0].visible = false; } menu.append(new MenuItem({ id: "help", diff --git a/modules/core/ui-loader/loader.ts b/modules/core/ui-loader/loader.ts index d1d1011..1af9768 100644 --- a/modules/core/ui-loader/loader.ts +++ b/modules/core/ui-loader/loader.ts @@ -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())) { diff --git a/package.json b/package.json index 4896fbc..4732d4f 100644 --- a/package.json +++ b/package.json @@ -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",