Problem:
After running tauri build and opening the .exe copy placed in the target/release directory, my app is not triggering JS-side invoke api commands, despite them being present in the source code and functioning when the app is run through tauri dev.
Background:
After going through a modified setup process for a splashscreen: #1130606430127399064
I have successfully implemented the close_splashscreen command in my main.rs, which is then invoked in my app's JavaScript.
More specifically, I am calling invoke('close_splashscreen') within Svelte's onMount() function, which triggers when the component is loaded to the DOM. However the exe appears to load so quickly that both screens remain open.