mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
add console logs in front of all GetSettingsConfig calls in emain
This commit is contained in:
@@ -208,6 +208,7 @@ function runWaveSrv(): Promise<boolean> {
|
||||
}
|
||||
|
||||
async function handleWSEvent(evtMsg: WSEventType) {
|
||||
console.log("handleWSEvent", evtMsg?.eventtype);
|
||||
if (evtMsg.eventtype == "electron:newwindow") {
|
||||
const windowId: string = evtMsg.data;
|
||||
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.
|
||||
*/
|
||||
async checkForUpdates(userInput: boolean) {
|
||||
console.log("checkForUpdates");
|
||||
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.
|
||||
@@ -185,6 +186,7 @@ export async function configureAutoUpdater() {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("configureAutoUpdater");
|
||||
autoUpdateLock = true;
|
||||
|
||||
const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;
|
||||
|
||||
Reference in New Issue
Block a user