diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 15:02:01 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 15:02:01 -0500 |
commit | 55bd3971ac10cf80cbb1436997b6ece52bc52a2c (patch) | |
tree | 5290006a3d00f00640cabba42f47182ef7e19e66 /src | |
parent | b364104ab1d7f99266c042e69c8c9c97d872c05c (diff) | |
download | lite-xl-plugin-manager-55bd3971ac10cf80cbb1436997b6ece52bc52a2c.tar.gz lite-xl-plugin-manager-55bd3971ac10cf80cbb1436997b6ece52bc52a2c.zip |
Added in ephemeral flag as a determinant for bottle hash construction.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |