[Chore] Clean PR

This commit is contained in:
CanadaHonk 2022-08-07 13:41:18 +01:00 committed by GitHub
parent 4606f93e52
commit e087078400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
const { ipcMain, app } = require('electron');
const { ipcMain, app, shell } = require('electron');
ipcMain.on('DISCORD_UPDATED_QUOTES', (e, c) => {
if (c === 'o') exports.open();
@ -32,9 +32,6 @@ exports.open = () => {
});
ipcMain.on('of', () => {
const { shell } = require('electron')
const { getUserData } = require('../paths')
const {join} = require('path')
shell.openPath(join(getUserData(), 'settings.json'))
shell.openPath(require('../paths').getUserData() + '/settings.json')
})
};
};