Make the things better

Use transmission, which is not broken
Bump supposed version of zim meta package
Provide better passing of arguments to updater
This commit is contained in:
Greg Hellings
2025-10-15 23:31:40 -05:00
parent 245658c441
commit 54b3620029
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -87,6 +87,7 @@ func getHash(ch chan result, file, category, language string) {
"--option",
"extra-experimental-features",
"flakes",
"--check-store",
fmt.Sprintf(`fetchtorrent {
url="%s/%s/%s.torrent";
hash="sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
@@ -147,6 +148,8 @@ func main() {
}
}
fmt.Println("Writing file to ", outputPath)
// Read existing cache if it exists
cached := make(map[string]map[string]Zim)
if data, err := os.ReadFile(outputPath); err == nil {
@@ -221,4 +224,5 @@ func main() {
}
fmt.Printf("Successfully wrote output to %s\n", outputPath)
fmt.Println(string(ret))
}
+2 -1
View File
@@ -16,6 +16,7 @@ writeShellApplication {
nix-prefetch
];
text = ''
go run ${goscript} -- pkgs/zim/blobs.json
go build -o updater ${goscript}
./updater "$@"
'';
}