mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info.
This commit is contained in:
@@ -11,6 +11,7 @@ const (
|
||||
|
||||
var systemMethodNames = map[int]string{
|
||||
SystemIsDarkMode: "IsDarkMode",
|
||||
Environment: "Environment",
|
||||
}
|
||||
|
||||
func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWriter, r *http.Request, window Window, params QueryParams) {
|
||||
@@ -24,6 +25,6 @@ func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWrite
|
||||
m.httpError(rw, "Unknown system method: %d", method)
|
||||
}
|
||||
|
||||
m.Info("Runtime:", "method", "System."+systemMethodNames[method])
|
||||
m.Info("Runtime Call:", "method", "System."+systemMethodNames[method])
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user