diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 739f653d4..4b3c81faa 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -270,7 +270,12 @@ const createWindow = () => { | |||
270 | if (isWindows) { | 270 | if (isWindows) { |
271 | onDidLoad((window: BrowserWindow) => { | 271 | onDidLoad((window: BrowserWindow) => { |
272 | const url = process.argv.slice(1); | 272 | const url = process.argv.slice(1); |
273 | if (url) { | 273 | if ( |
274 | url && | ||
275 | // The next line is a workaround after this 71c5237 [chore: Mobx & React-Router upgrade (#406)]. | ||
276 | // For some reason, the app won't start until because it's trying to route to './build'. | ||
277 | url.toString() !== './build' | ||
278 | ) { | ||
274 | handleDeepLink(window, url.toString()); | 279 | handleDeepLink(window, url.toString()); |
275 | } | 280 | } |
276 | }); | 281 | }); |