From f7af9888e1b16514116465e1c4d2b7ba6c57e1b4 Mon Sep 17 00:00:00 2001 From: DRAWSVG <77117468+DRAWSVG@users.noreply.github.com> Date: Mon, 11 Jan 2021 19:53:08 +0100 Subject: [PATCH] add auto update --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 8fd4365..9515573 100644 --- a/src/main.js +++ b/src/main.js @@ -2,8 +2,8 @@ const {app, dialog , BrowserWindow, Menu} = require('electron') const ipc = require('electron').ipcMain -// il faut un repo Gihub -//require('update-electron-app')() +// auto update +require('update-electron-app')() let mainWindow = null; let modifiedState = false;