From bdbb6bd5fd222c767e8b486957b1eee134a61647 Mon Sep 17 00:00:00 2001
From: ali asaria <ali.asaria@gmail.com>
Date: Fri, 8 Mar 2024 12:29:10 -0500
Subject: [PATCH] remove force autoupdate = true in order to suppress dev
 errors

---
 src/main/main.ts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/main.ts b/src/main/main.ts
index 82d141fe..07d154ba 100644
--- a/src/main/main.ts
+++ b/src/main/main.ts
@@ -133,8 +133,8 @@ if (isDebug) {
 }
 
 if (isDebug) {
-  autoUpdater.forceDevUpdateConfig = true;
-  console.log('Looking for dev-app-update.yml in', app.getAppPath());
+  // autoUpdater.forceDevUpdateConfig = true;
+  // console.log('Looking for dev-app-update.yml in', app.getAppPath());
   // autoUpdater.updateConfigPath = path.join(__dirname, 'dev-app-update.yml');
   autoUpdater.on('error', (error) => {
     dialog.showErrorBox(
@@ -325,7 +325,8 @@ autoUpdater.on('update-not-available', (info) => {
   // updater = null;
 });
 autoUpdater.on('error', (err) => {
-  sendStatusToWindow('main.js: Error in auto-updater. ' + err);
+  console.log('main.js: Error in auto-updater. ' + err);
+  // sendStatusToWindow('main.js: Error in auto-updater. ' + err);
 });
 autoUpdater.on('download-progress', (progressObj) => {
   let log_message = 'Download speed: ' + progressObj.bytesPerSecond;
-- 
GitLab