Skip to content

Commit

Permalink
fix: remove autoupdate
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Mar 28, 2024
1 parent 2b55dfb commit 585801c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "DocKit",
"productName": "DocKit",
"private": true,
"version": "0.2.3",
"version": "0.2.4",
"description": "A faster, better and more stable NoSQL desktop tools",
"author": "geekfun <[email protected]>",
"license": "Apache-2.0",
Expand Down
8 changes: 0 additions & 8 deletions src/electron/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { app, BrowserWindow, ipcMain, shell } from 'electron';
import { updateElectronApp } from 'update-electron-app';
import path from 'path';
import { createMenu } from './menu';
import { debug } from '../common';
Expand Down Expand Up @@ -108,12 +107,5 @@ registerStoreApiListener(ipcMain);
registerSourceFileApiListener(ipcMain);
registerFetchApiListener(ipcMain);

try {
updateElectronApp();
} catch (err) {
/* empty */
console.log('failed to update app', err);
}

// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and import them here.

0 comments on commit 585801c

Please sign in to comment.