From 971797eb09d14e8c4d30a36f2df3b858494b7c5e Mon Sep 17 00:00:00 2001 From: Ardian Date: Tue, 18 Jun 2024 19:39:37 +0200 Subject: [PATCH] fix: skip bumping --- electron/install.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/electron/install.js b/electron/install.js index b2444409..92265ff5 100644 --- a/electron/install.js +++ b/electron/install.js @@ -371,15 +371,15 @@ async function setupDarwin(ipcChannel) { // installOperatePackageUnix(OperateDirectory); // } // - console.log(appendLog('Checking if upgrade is required')); - if (versionBumpRequired()) { - console.log( - appendLog(`Upgrading pearl daemon to ${OlasMiddlewareVersion}`), - ); - reInstallOperatePackageUnix(OperateDirectory); - writeVersion(); - removeLogFile(); - } + // console.log(appendLog('Checking if upgrade is required')); + // if (versionBumpRequired()) { + // console.log( + // appendLog(`Upgrading pearl daemon to ${OlasMiddlewareVersion}`), + // ); + // // reInstallOperatePackageUnix(OperateDirectory); + // writeVersion(); + // removeLogFile(); + // } // // if (!fs.existsSync(`${OperateDirectory}/venv/bin/operate`)) { // reInstallOperatePackageUnix(OperateDirectory);