-
Notifications
You must be signed in to change notification settings - Fork 261
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
Installation without popping up a loadingGif
#543
Comments
This comment was marked as spam.
This comment was marked as spam.
in preload.js function useLoading() It's it. |
@Akemi-Madoka Thanks for your reply, but can you provide more details? I didn't find anything about the useLoading function in the forge and electron documents. |
NoNoNoNo,
// ---------------------------------------------------------------------- const { appendLoading, removeLoading } = useLoading() window.onmessage = ev => { setTimeout(removeLoading, 4999)` |
You can at least swap out this loading gif in the installer via the https://js.electronforge.io/interfaces/_electron_forge_maker_squirrel.InternalOptions.SquirrelWindowsOptions.html#loadingGif option. I don't know if there's an additional API option to remove it at the moment. |
@erickzhao Thank you for your reply. Yes, I saw the documentation for the loadingGif option, but as you said, this option is required and cannot be deleted. |
@Akemi-Madoka Thank you for your help, but when I added the useLoading function, nothing changed and it still appeared. I tried to add log in the useLoading function and found that it was not executed. |
I also encountered this problem and this topic helped me solve many problems. Thanks Nothing is added. Terminal execution npm run make Have you encountered this problem? |
I think alternative would potentially be to make the |
loadingGif
Pre-flight checklist
Electron Forge version
7.3.0
Electron version
29.1.4
Operating system
windows 11
Last known working Electron Forge version
No response
Expected behavior
How to remove this boot page? And I found that after closing the boot page, the program will exit and then reopen.
Actual behavior
Steps to reproduce
Package through make and then install the exe file.
Additional information
No response
The text was updated successfully, but these errors were encountered: