Skip to content

Commit b76de42

Browse files
committed
auto update release url
1 parent afd9226 commit b76de42

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { app, BrowserWindow } from 'electron';
22
const path = require('path');
33

4-
// Auto-updater module
4+
// Auto-updater module for electron-simple-updater package
5+
// url: https://www.npmjs.com/package/electron-simple-updater
56
const updater = require('electron-simple-updater');
6-
updater.init('path_to_release_json');
7+
updater.init('https://raw.githubusercontent.com/siwalikm/coffitivity-offline/master/src/updates.json');
78

89

910
// Keep a global reference of the window object, if you don't, the window will

0 commit comments

Comments
 (0)