mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-15 16:39:32 +08:00
![]() The application shutdown process has been significantly reworked to be more efficient and robust. The refactored code removes the event listener for the 'ApplicationTerminate' event. Instead, an in-process flag is added to the 'Quit' method to prevent recursive calls. Additionally, an optional 'OnShutdown' function variable is introduced to allow custom cleanup operations upon app termination. |
||
---|---|---|
.. | ||
@wailsio/runtime | ||
main.js | ||
README.md |
README
The main.js
file in this directory is the entrypoint for the runtime.js
file that may be
loaded at runtime. This will add window.wails
and window._wails
to the global scope.
NOTE: It is preferable to use the @wailsio/runtime
package to use the runtime.
After updating any files in this directory, you must run wails3 task build:runtime
to regenerate the compiled JS.