mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-09-06 05:24:36 +02:00
main_screen
remove all DBUS handler,and in related plugins wifi use wpa-connect to do the connecting / scanning , use wpa_cli to do disconnect
This commit is contained in:
@@ -9,9 +9,13 @@ import (
|
||||
"github.com/cuu/gogame/event"
|
||||
"github.com/cuu/gogame/rect"
|
||||
"github.com/cuu/gogame/color"
|
||||
*/
|
||||
*/
|
||||
"github.com/clockworkpi/LauncherGoDev/sysgo"
|
||||
"github.com/clockworkpi/LauncherGoDev/sysgo/UI"
|
||||
|
||||
//"github.com/clockworkpi/LauncherGoDev/sysgo/DBUS"
|
||||
wifi "github.com/cuu/wpa-connect"
|
||||
|
||||
)
|
||||
|
||||
/******************************************************************************/
|
||||
@@ -21,6 +25,11 @@ type WifiPlugin struct {
|
||||
PasswordPage *UI.Keyboard
|
||||
}
|
||||
|
||||
var (
|
||||
GsScanManager = wifi.NewScanManager(sysgo.WifiDev)
|
||||
GsConnectManager = wifi.NewConnectManager(sysgo.WifiDev)
|
||||
)
|
||||
|
||||
|
||||
func (self *WifiPlugin) Init( main_screen *UI.MainScreen ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user