5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 01:10:02 +08:00
wails/v3/internal/runtime/desktop/compiled/main.js
2025-02-25 03:32:30 +01:00

23 lines
549 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The electron alternative for Go
(c) Lea Anthony 2019-present
*/
import * as Runtime from "../@wailsio/runtime/src";
// 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";
window.wails = Runtime;
EnableWML();
if (DEBUG) {
debugLog("Wails Runtime Loaded")
}