From da77d9cf75d161702d1f264706ec4975c0362437 Mon Sep 17 00:00:00 2001 From: Jean Ouina Date: Mon, 14 Sep 2020 11:23:33 +0200 Subject: [PATCH] why tf rimraf --- modules/discord_desktop_core/core/app/BetterDiscord/index.js | 1 - package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/discord_desktop_core/core/app/BetterDiscord/index.js b/modules/discord_desktop_core/core/app/BetterDiscord/index.js index 2a1a002..05551df 100644 --- a/modules/discord_desktop_core/core/app/BetterDiscord/index.js +++ b/modules/discord_desktop_core/core/app/BetterDiscord/index.js @@ -1236,7 +1236,6 @@ var ensureExported = global.ensureExported = function ensureExported(filter, max } let Notifications = require("./patchNotifications") const { ipcRenderer } = require("electron") -const rimraf = require("rimraf") let useDefault = electron.ipcRenderer.sendSync("LIGHTCORD_GET_SETTINGS")["DEFAULT_NOTIFICATIONS"] if(typeof useDefault !== "boolean"){ useDefault = true diff --git a/package.json b/package.json index ac5af79..c9378eb 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "build:minify": "node build.js", "clean": "node scripts/clean.js", "clean:all": "node scripts/clean.js --all", - "devInstall": "npm i --save-dev --arch=ia32 electron@9.3.0 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"", - "devInstall:64": "npm i --save-dev --arch=x64 electron@9.3.0 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"", + "devInstall": "npm i --save-dev --arch=ia32 electron@10.1.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"", + "devInstall:64": "npm i --save-dev --arch=x64 electron@10.1.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"", "versions": "echo Electron: && electron -v && echo Typescript: && tsc -v" }, "author": "JeanOUINA",