5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 22:02:01 +08:00

Misc fixes for module build

This commit is contained in:
Lea Anthony 2021-01-05 13:20:44 +11:00
parent 2b5bbfd897
commit ad65d55abd
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
4 changed files with 17 additions and 0 deletions

View File

@ -8,6 +8,7 @@ package app
// will be unknown and the application will not work as expected.
import (
"github.com/wailsapp/wails/v2/internal/logger"
"os"
"github.com/wailsapp/wails/v2/pkg/options"
@ -22,6 +23,8 @@ type App struct {
// Indicates if the app is running in debug mode
debug bool
logger *logger.Logger
}
// CreateApp returns a null application

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
// +build !desktop,!server
package runtime
// AppType returns the application type, EG: desktop
func (r *system) AppType() string {
return "default"
}