diff --git a/install.lua b/install.lua index fc16f03..36f5fad 100644 --- a/install.lua +++ b/install.lua @@ -56,7 +56,7 @@ local function main() toDownload[#toDownload+1] = v else local destfile = fs.open(v.dest, "r") - local filehash = hash.sha256(destfile.readAll()) + local filehash = hash.sha256(destfile.readAll() .. "\n") -- newline is weird hack because of awkward hashes destfile.close() if filehash ~= v.sha256 then toDownload[#toDownload+1] = v diff --git a/src/startup.lua b/src/startup.lua index cae95c4..7df869a 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -1,2 +1 @@ print("Hello, World!") -