mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 01:41:47 +08:00
29 lines
462 B
Go
29 lines
462 B
Go
//go:build production
|
|
|
|
package runtime
|
|
|
|
import _ "embed"
|
|
|
|
//go:embed runtime.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
|
|
}
|