mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	discord is a fuck
This commit is contained in:
		
							parent
							
								
									d1afc1724f
								
							
						
					
					
						commit
						f430a4159f
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -41,13 +41,8 @@
 | 
			
		|||
                    });
 | 
			
		||||
 | 
			
		||||
                    function load() {
 | 
			
		||||
                        win.loadURL('https://' + (
 | 
			
		||||
                            navigator.userAgent.indexOf('Discord PTB') > -1 ?
 | 
			
		||||
                                'ptb.' :
 | 
			
		||||
                                navigator.userAgent.indexOf('Discord Canary') > -1 ?
 | 
			
		||||
                                    'canary.' :
 | 
			
		||||
                                    ''
 | 
			
		||||
                        ) + 'discordapp.com/channels/@me');
 | 
			
		||||
                        var branch = require('path').basename(electron.app.getPath("userData")).substr(7);
 | 
			
		||||
                        win.loadURL('https://' + (branch ? branch + '.' : '') + 'discordapp.com/channels/@me');
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // get the data path
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue