From eaf4c33c14d0274b2471af3ea12e4561bfd6cb8c Mon Sep 17 00:00:00 2001 From: FauxSeal210 Date: Sun, 9 Feb 2020 13:26:21 +0900 Subject: [PATCH] Complete Auto-Update and Improvements on dealing with files. --- main.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 2367d40..e7f69cf 100644 --- a/main.js +++ b/main.js @@ -306,6 +306,9 @@ autoUpdater.on('update-downloaded', () => { if (confirm) { autoUpdater.quitAndInstall(true, true) } + else { + win.webContents.executeJavaScript(`alert('프로그램을 종료할 때 자동으로 업데이트 합니다.')`) + } }) }) diff --git a/package.json b/package.json index 8406bf1..bf3a498 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lostsagacustomlauncher", - "version": "1.3.2", + "version": "1.1.1", "description": "", "main": "main.js", "scripts": {