From ec4213cd92c5a4d7e261a00d6df1f444fb29d93e Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 4 Jun 2023 16:28:43 -0600 Subject: [PATCH] Fix ROM type parsing --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6313ff8..a86487d 100644 --- a/main.go +++ b/main.go @@ -116,7 +116,7 @@ func updateROMCache() { Datetime: int(fInfo.ModTime().Unix()), Filename: v.Name(), ID: fileHash, - Romtype: "nightly", + Romtype: splitName[3], // UNOFFICIAL Size: int(fInfo.Size()), URL: fmt.Sprintf("https://lineageos-ota.deadbeef.codes/public/%s", v.Name()), Version: splitName[1],