Exposed log and db filepath setting

This commit is contained in:
Toby Chui
2024-12-31 21:14:37 +08:00
parent 84aec4387a
commit ebd316a7f1
5 changed files with 21 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ func main() {
SetupCloseHandler()
//Read or create the system uuid
uuidRecord := "./sys.uuid"
uuidRecord := *path_uuid
if !utils.FileExists(uuidRecord) {
newSystemUUID := uuid.New().String()
os.WriteFile(uuidRecord, []byte(newSystemUUID), 0775)