mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
add console logs in front of all GetSettingsConfig calls in emain
This commit is contained in:
parent
4e88a27d9e
commit
3c8bac6bf9
@ -208,6 +208,7 @@ function runWaveSrv(): Promise<boolean> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function handleWSEvent(evtMsg: WSEventType) {
|
async function handleWSEvent(evtMsg: WSEventType) {
|
||||||
|
console.log("handleWSEvent", evtMsg?.eventtype);
|
||||||
if (evtMsg.eventtype == "electron:newwindow") {
|
if (evtMsg.eventtype == "electron:newwindow") {
|
||||||
const windowId: string = evtMsg.data;
|
const windowId: string = evtMsg.data;
|
||||||
const windowData: WaveWindow = (await services.ObjectService.GetObject("window:" + windowId)) as WaveWindow;
|
const windowData: WaveWindow = (await services.ObjectService.GetObject("window:" + windowId)) as WaveWindow;
|
||||||
|
@ -91,6 +91,7 @@ export class Updater {
|
|||||||
* @param userInput Whether the user is requesting this. If so, an alert will report the result of the check.
|
* @param userInput Whether the user is requesting this. If so, an alert will report the result of the check.
|
||||||
*/
|
*/
|
||||||
async checkForUpdates(userInput: boolean) {
|
async checkForUpdates(userInput: boolean) {
|
||||||
|
console.log("checkForUpdates");
|
||||||
const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;
|
const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;
|
||||||
|
|
||||||
// If there's an active update check interval, check that the user still has auto update checks enabled. If not, remove the interval.
|
// If there's an active update check interval, check that the user still has auto update checks enabled. If not, remove the interval.
|
||||||
@ -185,6 +186,7 @@ export async function configureAutoUpdater() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("configureAutoUpdater");
|
||||||
autoUpdateLock = true;
|
autoUpdateLock = true;
|
||||||
|
|
||||||
const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;
|
const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;
|
||||||
|
Loading…
Reference in New Issue
Block a user