mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	move reload() definition to preload()
This commit is contained in:
		
							parent
							
								
									0370baa4c5
								
							
						
					
					
						commit
						528c166a0b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -42,6 +42,7 @@ exports = {
 | 
			
		|||
        fetchGoodies();
 | 
			
		||||
        setInterval(fetchGoodies, 1800000);
 | 
			
		||||
 | 
			
		||||
        window.reload = () => { app.relaunch(); app.exit(); };
 | 
			
		||||
        window.endpwn = {
 | 
			
		||||
 | 
			
		||||
            __eval: e => eval(e),
 | 
			
		||||
| 
						 | 
				
			
			@ -127,8 +128,6 @@ exports = {
 | 
			
		|||
 | 
			
		||||
    start: function () {
 | 
			
		||||
 | 
			
		||||
        window.reload = () => { app.relaunch(); app.exit(); };
 | 
			
		||||
 | 
			
		||||
        // disable analytics
 | 
			
		||||
        __epprint('disabling analytics...');
 | 
			
		||||
        $api.util.findFuncExports("AnalyticEventConfigs").default.track = () => { };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue