Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "preload.js" to "preload.ts" in main.ts #3598

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azn-abel
Copy link

Upon cloning the project and running, the preload script located at /src/main/preload.ts does not get executed due to a typo in this section of main.ts, which is responsible for specifying the path of the file to preload. It should be preload.ts, not preload.js.

@xupea
Copy link
Contributor

xupea commented May 10, 2024

I don't think it will work when it's packaged since there is no .ts files at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants