Some general updates
This commit is contained in:
parent
a8694b6adf
commit
71014c52be
2
github
2
github
@ -1 +1 @@
|
|||||||
Subproject commit 30322f64162fd4805bc01542cc5cefbb9fe842a3
|
Subproject commit a1f980c623d33a448c9acf4a97f1aa795175dcb3
|
@ -123,4 +123,4 @@ function deploy_client() {
|
|||||||
#compile_scripts
|
#compile_scripts
|
||||||
#compile_native
|
#compile_native
|
||||||
package_client
|
package_client
|
||||||
deploy_client
|
#deploy_client
|
||||||
|
@ -24,12 +24,12 @@ function handle_native_connect_request(url_string: string) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let connection = server_connections.active_connection_handler();
|
let connection = server_connections.active_connection();
|
||||||
if(connection.connected)
|
if(connection.connected)
|
||||||
connection = server_connections.spawn_server_connection_handler();
|
connection = server_connections.spawn_server_connection();
|
||||||
|
|
||||||
handle_connect_request({
|
handle_connect_request({
|
||||||
address: url.host,
|
address: url.host + ":" + (url.searchParams.has("port") ? url.searchParams.get("port") : "9987"),
|
||||||
password: {
|
password: {
|
||||||
value: url.password,
|
value: url.password,
|
||||||
hashed: (url.searchParams.get("password_raw") || "0") == "0"
|
hashed: (url.searchParams.get("password_raw") || "0") == "0"
|
||||||
|
@ -4,7 +4,7 @@ import * as mbar from "tc-shared/ui/frames/MenuBar";
|
|||||||
import {Arguments, process_args} from "../shared/process-arguments";
|
import {Arguments, process_args} from "../shared/process-arguments";
|
||||||
|
|
||||||
import ipcRenderer = electron.ipcRenderer;
|
import ipcRenderer = electron.ipcRenderer;
|
||||||
import {Icon} from "tc-shared/FileManager";
|
import {LocalIcon} from "tc-shared/file/Icons";
|
||||||
namespace native {
|
namespace native {
|
||||||
import ipcRenderer = electron.ipcRenderer;
|
import ipcRenderer = electron.ipcRenderer;
|
||||||
let _item_index = 1;
|
let _item_index = 1;
|
||||||
@ -71,7 +71,7 @@ namespace native {
|
|||||||
return !this._enabled;
|
return !this._enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
icon(klass?: string | Promise<Icon> | Icon): string {
|
icon(klass?: string | Promise<LocalIcon> | LocalIcon): string {
|
||||||
if(typeof(klass) === "string") {
|
if(typeof(klass) === "string") {
|
||||||
const buffer = class_to_image(klass);
|
const buffer = class_to_image(klass);
|
||||||
if(buffer)
|
if(buffer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user