mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 04:05:12 -07:00
Compare commits
1 Commits
v2.0.0-alp
...
v2.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user