Fourth round of fixes

This commit is contained in:
2025-09-30 00:33:20 -04:00
parent 1d6d89be05
commit 2905fbc275
6 changed files with 26 additions and 44 deletions
+1 -7
View File
@@ -1,10 +1,7 @@
package main
import (
"os"
"github.com/rwinkhart/go-boilerplate/front"
"github.com/rwinkhart/go-boilerplate/other"
)
func configurations() {
@@ -40,10 +37,7 @@ func configurations() {
}
fallthrough
case 6:
err := os.MkdirAll(mountPoint+"/home/"+getUsername()+"/.config/zed", 0755)
if err != nil {
other.PrintError("Failed to create zed config directory", 1)
}
mkdir(mountPoint + "/home/" + getUsername() + "/.config/zed")
writeFile(mountPoint+"/home/"+getUsername()+"/.config/zed/settings.json", zed, getUsername(), 0600)
if !doAll {