mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	refactor: temporary disable windows process validation
This commit is contained in:
		| @@ -6,7 +6,7 @@ const isWindows = process.platform === 'win32'; | ||||
| const indexPath = path.resolve(__dirname, 'index.html').split(path.sep).join('/'); | ||||
|  | ||||
| export function validateSender (frame: WebFrameMain) { | ||||
|    if (process.windowsStore) return true; // TEMP HOTFIX | ||||
|    if (isWindows) return true; // TEMP HOTFIX | ||||
|    const frameUrl = new URL(frame.url); | ||||
|    const prefix = isWindows ? 'file:///' : 'file://'; | ||||
|    const framePath = frameUrl.href.replace(prefix, ''); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user