feat: code adjustments

This commit is contained in:
Zamitto
2025-03-10 20:21:17 -03:00
parent 85efc23c25
commit d8a4eaaa66
5 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ import updater from "electron-updater";
const { autoUpdater } = updater;
export const restartAndInstallUpdate = async () => {
export const restartAndInstallUpdate = () => {
autoUpdater.removeAllListeners();
if (app.isPackaged) {
autoUpdater.quitAndInstall(false);