From 55bd3971ac10cf80cbb1436997b6ece52bc52a2c Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 25 Feb 2024 15:02:01 -0500 Subject: Added in ephemeral flag as a determinant for bottle hash construction. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index 645d5fc..2a02c89 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1332,7 +1332,7 @@ function Bottle.new(lite_xl, addons, config, is_system) }, Bottle) if not is_system then table.sort(self.addons, function(a, b) return (a.id .. ":" .. a.version) < (b.id .. ":" .. b.version) end) - self.hash = system.hash(lite_xl.version .. " " .. common.join(" ", common.map(self.addons, function(p) return (p.repository and p.repository:url() or "") .. ":" .. p.id .. ":" .. p.version end)) .. (config or "")) + self.hash = system.hash(lite_xl.version .. " " .. common.join(" ", common.map(self.addons, function(p) return (p.repository and p.repository:url() or "") .. ":" .. p.id .. ":" .. p.version end)) .. (config or "") .. (EPHEMERAL and "E" or "P")) self.local_path = CACHEDIR .. PATHSEP .. "bottles" .. PATHSEP .. self.hash end return self -- cgit v1.2.3