[connect] puuuuuuuuuussssssssshhhhhhhhhhhhhh penis parker 2.0
This commit is contained in:
parent
7b1d9e6849
commit
39e952c15b
3 changed files with 60 additions and 4 deletions
|
@ -1203,6 +1203,13 @@ export class BrowserWindow {
|
|||
ipcMain.on('cc-auth', (_event) => {
|
||||
shell.openExternal(String(utils.getStoreValue('cc_authURL')));
|
||||
});
|
||||
|
||||
ipcMain.on('cc-logout', (_event) => {
|
||||
utils.setStoreValue('connectUser', {
|
||||
auth: null
|
||||
});
|
||||
utils.getWindow().reload();
|
||||
});
|
||||
/* *********************************************************************************************
|
||||
* Window Events
|
||||
* **********************************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue