Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
fix(webview): prevent error on file download
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Nov 14, 2020
1 parent 5b36988 commit 10013f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 64 deletions.
64 changes: 7 additions & 57 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -28,7 +28,6 @@
"@mdi/js": "^5.4.55",
"date-fns": "^2.15.0",
"deepmerge": "^4.2.2",
"electron-dl": "^1.14.0",
"electron-updater": "^4.3.5",
"electron-window-state": "^5.0.3",
"is-url-relative-without-domain": "^2.0.0",
Expand Down
6 changes: 0 additions & 6 deletions src/background.js
@@ -1,4 +1,3 @@
import electronDl from 'electron-dl';
import windowStateKeeper from 'electron-window-state';
import * as path from 'path';
import { format as formatUrl } from 'url';
Expand All @@ -16,11 +15,6 @@ import {

import pkg from '../package.json';

electronDl({
openFolderWhenDone: true,
saveAs: true,
});

app.setAppUserModelId(process.execPath);

const moduleReq = require('module');
Expand Down

0 comments on commit 10013f8

Please sign in to comment.