Skip to content

Commit

Permalink
Merge pull request #1054 from Araxeus/new-downloader
Browse files Browse the repository at this point in the history
[downloader] plugin overhaul
  • Loading branch information
th-ch committed Mar 19, 2023
2 parents 3526197 + 5d8b04b commit 62e2e8a
Show file tree
Hide file tree
Showing 10 changed files with 551 additions and 640 deletions.
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ autoUpdater.autoDownload = false;
const gotTheLock = app.requestSingleInstanceLock();
if (!gotTheLock) app.exit();

app.commandLine.appendSwitch(
"js-flags",
// WebAssembly flags
"--experimental-wasm-threads"
);
app.commandLine.appendSwitch("enable-features", "SharedArrayBuffer"); // Required for downloader
app.allowRendererProcessReuse = true; // https://github.com/electron/electron/issues/18397
if (config.get("options.disableHardwareAcceleration")) {
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"browser-id3-writer": "^4.4.0",
"butterchurn": "^2.6.7",
"butterchurn-presets": "^2.4.7",
"chokidar": "^3.5.3",
"custom-electron-prompt": "^1.5.4",
"custom-electron-titlebar": "^4.1.6",
"electron-better-web-request": "^1.0.1",
Expand All @@ -135,8 +134,7 @@
"node-fetch": "^2.6.8",
"simple-youtube-age-restriction-bypass": "https://gitpkg.now.sh/api/pkg.tgz?url=zerodytrash/Simple-YouTube-Age-Restriction-Bypass&commit=v2.5.4",
"vudio": "^2.1.1",
"youtubei.js": "^2.9.0",
"ytdl-core": "^4.11.1",
"youtubei.js": "^3.1.1",
"ytpl": "^2.3.0"
},
"devDependencies": {
Expand Down
11 changes: 0 additions & 11 deletions plugins/downloader/actions.js

This file was deleted.

0 comments on commit 62e2e8a

Please sign in to comment.