chore: bump the minimum required Yazi version to 25.2.7

This commit is contained in:
sxyazi
2025-02-07 20:23:05 +08:00
parent 02d18be038
commit 07258518f3
18 changed files with 56 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
# mount.yazi
> [!NOTE]
> The plugin is currently very experimental, and the newest Yazi nightly is required for it to work.
> Yazi v25.2.7 or later is required for this plugin to work.
A mount manager for Yazi, providing disk mount, unmount, and eject functionality.

View File

@@ -1,3 +1,5 @@
--- @since 25.2.7
local toggle_ui = ya.sync(function(self)
if self.children then
Modal:children_remove(self.children)
@@ -10,7 +12,7 @@ end)
local subscribe = ya.sync(function(self)
ps.unsub("mount")
ps.sub("mount", function() ya.manager_emit("plugin", { self._id, args = "refresh" }) end)
ps.sub("mount", function() ya.manager_emit("plugin", { self._id, "refresh" }) end)
end)
local update_partitions = ya.sync(function(self, partitions)