mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 14:13:00 +08:00
Misc fixes for module build
This commit is contained in:
parent
2b5bbfd897
commit
ad65d55abd
@ -8,6 +8,7 @@ package app
|
|||||||
// will be unknown and the application will not work as expected.
|
// will be unknown and the application will not work as expected.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/wailsapp/wails/v2/internal/logger"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/wailsapp/wails/v2/pkg/options"
|
"github.com/wailsapp/wails/v2/pkg/options"
|
||||||
@ -22,6 +23,8 @@ type App struct {
|
|||||||
|
|
||||||
// Indicates if the app is running in debug mode
|
// Indicates if the app is running in debug mode
|
||||||
debug bool
|
debug bool
|
||||||
|
|
||||||
|
logger *logger.Logger
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateApp returns a null application
|
// CreateApp returns a null application
|
||||||
|
5
v2/internal/ffenestri/runtime_darwin.c
Normal file
5
v2/internal/ffenestri/runtime_darwin.c
Normal file
File diff suppressed because one or more lines are too long
1
v2/internal/runtime/assets/desktop.js
Normal file
1
v2/internal/runtime/assets/desktop.js
Normal file
File diff suppressed because one or more lines are too long
8
v2/internal/runtime/system_default.go
Normal file
8
v2/internal/runtime/system_default.go
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// +build !desktop,!server
|
||||||
|
|
||||||
|
package runtime
|
||||||
|
|
||||||
|
// AppType returns the application type, EG: desktop
|
||||||
|
func (r *system) AppType() string {
|
||||||
|
return "default"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user