diff options
Diffstat (limited to 'compatibility/2.5.5.5.nom')
| -rw-r--r-- | compatibility/2.5.5.5.nom | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/compatibility/2.5.5.5.nom b/compatibility/2.5.5.5.nom index aff4b78..05bf705 100644 --- a/compatibility/2.5.5.5.nom +++ b/compatibility/2.5.5.5.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V5.12.12.8 +#!/usr/bin/env nomsu -V6.12.12.8 # This file defines upgrades from Nomsu <2.5.5.5 to Nomsu 2.5.5.5 @@ -6,9 +6,10 @@ use "compatibility/compatibility.nom" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -upgrade action [hash $, sha1 $] to "2.5.5.5" as (..) +upgrade action [hash $, sha1 $] to "2.5.5.5" as =lua "\(base64 decode (hash $)):gsub('.', function(c) return ('%x02'):format(c) end)" -upgrade action [file with hash $] to "2.5.5.5" as (..) - file with hash (..) - base64 (=lua "\$:gsub('..', function(xx) return string.char(tonumber(xx, 16)) end)") +upgrade action [file with hash $] to "2.5.5.5" as + file with hash + base64 + =lua "\$:gsub('..', function(xx) return string.char(tonumber(xx, 16)) end)" |
