mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Refactor application creation. Remove internal logger package.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//go:build !production
|
||||
|
||||
package application
|
||||
|
||||
// We use this to patch the application to production mode.
|
||||
func newApplication(options *Options) *App {
|
||||
result := &App{
|
||||
isDebugMode: true,
|
||||
options: options.getOptions(true),
|
||||
}
|
||||
result.init()
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user