renaming Finders and Peripherals to Providers and Endpoints

This commit is contained in:
2025-11-30 18:57:20 +01:00
parent 7f60f7b8d7
commit 1c8607800a
25 changed files with 1102 additions and 1102 deletions

8
app.go
View File

@@ -33,7 +33,7 @@ func NewApp() *App {
hardwareManager: hardwareManager,
projectSave: "",
projectInfo: ProjectInfo{
PeripheralsInfo: make(map[string]hardware.PeripheralInfo),
EndpointsInfo: make(map[string]hardware.EndpointInfo),
},
}
}
@@ -56,12 +56,12 @@ func (a *App) onStartup(ctx context.Context) {
}
// onReady is called when the DOM is ready
// We get the current peripherals connected
// We get the current endpoints connected
func (a *App) onReady(ctx context.Context) {
// log.Debug().Str("file", "peripherals").Msg("getting peripherals...")
// log.Debug().Str("file", "endpoints").Msg("getting endpoints...")
// err := a.hardwareManager.Scan()
// if err != nil {
// log.Err(err).Str("file", "app").Msg("unable to get the peripherals")
// log.Err(err).Str("file", "app").Msg("unable to get the endpoints")
// }
return
}