mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-04-25 07:30:32 +00:00
update manifestFile setting
This commit is contained in:
@@ -83,14 +83,18 @@ function startAspCoreBackend(electronPort) {
|
||||
var text = data.toString();
|
||||
console.log(`stdout: ${data.toString()}`);
|
||||
|
||||
if (data.toString().indexOf("MainWindowShowed") > -1 && loadingWindow && !loadingWindow.isDestroyed()) {
|
||||
// yf add
|
||||
if (text.indexOf(manifestFile.mainWindowShowed) > -1 &&
|
||||
loadingWindow && !loadingWindow.isDestroyed()) {
|
||||
loadingWindow.close();
|
||||
mainWindowId = parseInt(data.toString().replace("MainWindowShowed:", "").trim())
|
||||
|
||||
mainWindowId = parseInt(text.replace(`${manifestFile.mainWindowShowed}:`, "").trim());
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// yf add
|
||||
function startLoadingWindow() {
|
||||
let loadingUrl = manifestJsonFile.loadingUrl;
|
||||
let icon = manifestJsonFile.icon;
|
||||
|
||||
Reference in New Issue
Block a user