added ability to rerun itself as admin should hopefully work and actually made window smaller

This commit is contained in:
2023-12-14 20:25:51 -06:00
parent 0553968907
commit cf65351d4e
3 changed files with 67 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
package admin
import "errors"
var ErrNotImplemented = errors.New("not implemented on linux")
func RunSelfElevated() error {
return ErrNotImplemented
}
func Admin() bool {
return true
}