5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 06:00:20 +08:00
wails/v3/internal/runtime/assets_dev.go

29 lines
469 B
Go

//go:build !production
package runtime
import _ "embed"
//go:embed runtime_debug.js
var DesktopRuntime []byte
var RuntimeAssetsBundle = &RuntimeAssets{
runtimeDesktopJS: DesktopRuntime,
}
type RuntimeAssets struct {
runtimeDesktopJS []byte
}
func (r *RuntimeAssets) DesktopIPC() []byte {
return []byte("")
}
func (r *RuntimeAssets) WebsocketIPC() []byte {
return []byte("")
}
func (r *RuntimeAssets) RuntimeDesktopJS() []byte {
return r.runtimeDesktopJS
}