Add GTK application implementation
This commit is contained in:
parent
d1bb505e0a
commit
b7c0307f6b
29 changed files with 2564 additions and 266 deletions
9
main.go
9
main.go
|
|
@ -1,9 +1,18 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"suruatoel.xyz/mcg/internal/gui"
|
||||
"suruatoel.xyz/mcg/internal/i18n"
|
||||
)
|
||||
|
||||
func main() {
|
||||
i18n.Init("mcg", "locale")
|
||||
|
||||
app := gui.NewApplication()
|
||||
exitCode := app.Run(os.Args)
|
||||
if exitCode > 0 {
|
||||
os.Exit(exitCode)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue