Some cleanup and a fix
This commit is contained in:
parent
750dbf5d66
commit
41ff890d81
@ -126,8 +126,9 @@ packager.pack_info(package_path).then(async info => {
|
||||
}
|
||||
await deployer.deploy_win_dbg_files(files, version);
|
||||
console.log("PDB files deployed");
|
||||
})
|
||||
.then(async () => {
|
||||
}).then(async () => {
|
||||
await sign_file(dest_path + filename_installer, "TeaSpeak client installer");
|
||||
}).then(async () => {
|
||||
console.log("Deploying build");
|
||||
await packager.deploy("win32", "x64", process.argv[2], version, dest_path + filename_update, dest_path + filename_installer, "exe");
|
||||
}).then(() => {
|
||||
|
@ -14,7 +14,6 @@ import {CachedUIPack, UIPackInfo} from "./CacheFile";
|
||||
import {localUiCache, saveLocalUiCache} from "./Cache";
|
||||
import {shippedClientUi} from "./Shipped";
|
||||
import {downloadUiPack, queryRemoteUiPacks} from "./Remote";
|
||||
import * as url from "url";
|
||||
import {protocol} from "electron";
|
||||
|
||||
const kUiPackProtocol = "shared-ui";
|
||||
|
@ -8,7 +8,6 @@ import * as path from "path";
|
||||
|
||||
let windowInstance: BrowserWindow;
|
||||
|
||||
export const kWindowPartitionMainApp = "persist:main-app";
|
||||
export async function showMainWindow(entryPointUrl: string) {
|
||||
if(windowInstance) {
|
||||
throw "main window already initialized";
|
||||
@ -31,7 +30,6 @@ export async function showMainWindow(entryPointUrl: string) {
|
||||
nodeIntegrationInWorker: true,
|
||||
nodeIntegration: true,
|
||||
preload: path.join(__dirname, "..", "renderer", "PreloadScript.js"),
|
||||
partition: kWindowPartitionMainApp
|
||||
},
|
||||
icon: path.join(__dirname, "..", "..", "..", "..", "resources", "logo.ico"),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user