1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

dankisntall: add hyprland session target, disable hyprland-git variant

universally
This commit is contained in:
bbedward
2025-12-08 20:40:13 -05:00
parent 95c780ca8c
commit 37a843323d
7 changed files with 47 additions and 18 deletions

View File

@@ -12,6 +12,11 @@ import (
var Version = "dev"
func main() {
if os.Getuid() == 0 {
fmt.Fprintln(os.Stderr, "Error: dankinstall must not be run as root")
os.Exit(1)
}
fileLogger, err := log.NewFileLogger()
if err != nil {
fmt.Printf("Warning: Failed to create log file: %v\n", err)