[Chore] Clean PR
This commit is contained in:
		
							parent
							
								
									4606f93e52
								
							
						
					
					
						commit
						e087078400
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue