2024-01-25 21:00:33 +11:00
|
|
|
/*
|
|
|
|
|
_ __ _ __
|
|
|
|
|
| | / /___ _(_) /____
|
|
|
|
|
| | /| / / __ `/ / / ___/
|
|
|
|
|
| |/ |/ / /_/ / / (__ )
|
|
|
|
|
|__/|__/\__,_/_/_/____/
|
|
|
|
|
The electron alternative for Go
|
|
|
|
|
(c) Lea Anthony 2019-present
|
|
|
|
|
*/
|
|
|
|
|
|
2024-03-20 10:30:14 +01:00
|
|
|
import * as Runtime from "../@wailsio/runtime/src";
|
2024-01-25 21:00:33 +11:00
|
|
|
|
2024-03-20 10:30:14 +01:00
|
|
|
// NOTE: the following methods MUST be imported explicitly because of how esbuild injection works
|
|
|
|
|
import {Enable as EnableWML} from "../@wailsio/runtime/src/wml";
|
|
|
|
|
import {debugLog} from "../@wailsio/runtime/src/utils";
|
2024-01-25 21:00:33 +11:00
|
|
|
|
2024-03-20 10:30:14 +01:00
|
|
|
window.wails = Runtime;
|
|
|
|
|
EnableWML();
|
2024-01-25 21:00:33 +11:00
|
|
|
|
2024-03-20 10:30:14 +01:00
|
|
|
if (DEBUG) {
|
|
|
|
|
debugLog("Wails Runtime Loaded")
|
2024-01-25 21:00:33 +11:00
|
|
|
}
|