Skip to content

Commit

Permalink
fix: skip bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Jun 18, 2024
1 parent 17fce78 commit 971797e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions electron/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 971797e

Please sign in to comment.