Skip to content

Commit

Permalink
fixed bad path for loading the intentResolver file when built
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolba committed Mar 30, 2022
1 parent d5b913f commit 804bcd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/IntentResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class IntentResolver {
import.meta.env.VITE_DEV_SERVER_INTENTS_URL !== undefined
? import.meta.env.VITE_DEV_SERVER_INTENTS_URL
: new URL(
'../../renderer/dist/intentResolver.html',
'../renderer/dist/intentResolver.html',
'file://' + __dirname,
).toString();
// and load the index.html of the app.
Expand Down

0 comments on commit 804bcd0

Please sign in to comment.