Refactor Desktop config to avoid global (#33468)
* Fix desktop registering protocol handler wrong Was previously registering with too many args and was also only handling deeplinks if the app was already open, on a cold start they would be blindly ignored. Tests aplenty * Refactor Desktop config to avoid global and centralise defaults * Improve coverage * Fix tests * Improve coverage * Fix test * Rename field * Improve coverage * Rename field * Move protocolHandler initialisation to after mainWindow is navigating * Add comment * Avoid double call to loadURL * Improve coverage * Improve coverage * Fix tsc
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"module": "nodenext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"target": "es2022",
|
||||
"lib": ["es2024"],
|
||||
"sourceMap": false,
|
||||
"typeRoots": [],
|
||||
"types": [],
|
||||
|
||||
Reference in New Issue
Block a user