5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-15 16:39:32 +08:00
wails/v3/internal/runtime/desktop
Lea Anthony 68b12d4fff
Refactored application shutdown process to streamline app termination.
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.
2024-01-09 18:19:09 +11:00
..
@wailsio/runtime Refactored application shutdown process to streamline app termination. 2024-01-09 18:19:09 +11:00
main.js @wailsio/runtime alpha.9 - Fix call responses. 2023-12-30 15:49:23 +11:00
README.md Radical JS runtime overhaul. New @wailsio/runtime package 2023-12-28 19:18:26 +11:00

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.