[Chore] Clean PR

pull/88/head
CanadaHonk 2 years ago committed by GitHub
parent 4606f93e52
commit e087078400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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')
})
};
};

Loading…
Cancel
Save