Switch back to library

This commit is contained in:
Evan 2024-04-05 22:38:01 -04:00
parent e8cdbbb5e3
commit 5ff2e444fa

View file

@ -1,4 +1,7 @@
package main
//go:build windows
// +build windows
package vvin
import (
"errors"
@ -71,7 +74,7 @@ func (c *globalCmd) Before() error {
return nil
}
func main() {
func Start(args []string) error {
app := gli.NewWith(&globalCmd{})
app.Name = "vvin"
app.Desc = "Change window properties for Windows"