Skip to content

Commit

Permalink
Merge pull request #4 from nkolba/fix-resolver-path
Browse files Browse the repository at this point in the history
fixed bad path for loading the intentResolver file when built
  • Loading branch information
nkolba authored Mar 30, 2022
2 parents d5b913f + 804bcd0 commit 0fcff33
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 0fcff33

Please sign in to comment.