Some small updates

This commit is contained in:
WolverinDEV 2019-11-03 15:58:59 +01:00
parent 24bea88a42
commit 9f4470dacb
2 changed files with 6 additions and 6 deletions

View File

@ -117,8 +117,8 @@ function deploy_client() {
end_task "${project_name}_package" "Client successfully deployed!"
}
install_npm
compile_scripts
compile_native
package_client
#install_npm
#compile_scripts
#compile_native
#package_client
deploy_client

View File

@ -13,7 +13,7 @@ import * as handle from "teaclient_connection";
require = original_require;
const buffer_size = 24;
const start_server = async () => {
const start_server: () => Promise<string> = async () => {
const server: net.Server = net.createServer();
await new Promise(resolve => server.listen(30303, "localhost", resolve));
@ -78,7 +78,7 @@ start_server().catch(error => {
object: upload ? source : destination,
transfer_key: upload ? "ft_upload_data__" : "ft_download_data",
remote_address: address,
remote_address: address as any,
remote_port: 30303
});