chore: bump the minimum required Yazi version to 25.2.7
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user