Initial commit
This commit is contained in:
10985
cmd/installer/defaultSettings.json
Normal file
10985
cmd/installer/defaultSettings.json
Normal file
File diff suppressed because it is too large
Load Diff
24
cmd/installer/main.go
Normal file
24
cmd/installer/main.go
Normal file
@ -0,0 +1,24 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
"fyne.io/fyne/v2/app"
|
||||
|
||||
"gitea.unprism.ru/KRBL/FemaInstaller/internal/installer"
|
||||
"gitea.unprism.ru/KRBL/FemaInstaller/internal/ui"
|
||||
)
|
||||
|
||||
//go:embed defaultSettings.json
|
||||
var defaultSettings string
|
||||
|
||||
func main() {
|
||||
// Create application
|
||||
myApp := app.New()
|
||||
|
||||
// Create installer
|
||||
femaInstaller := installer.NewInstaller(defaultSettings)
|
||||
|
||||
// Create and show main window
|
||||
mainWindow := ui.NewMainWindow(myApp, femaInstaller.Install)
|
||||
mainWindow.ShowAndRun()
|
||||
}
|
Reference in New Issue
Block a user