diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-12-01 14:35:11 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-12-01 14:35:11 -0500 |
commit | f6f8ff1311eeac8d349faf66fe01f0e39c640662 (patch) | |
tree | f9c6cdcc8b151854101159f36b83d35bcf9cd621 | |
parent | 28915241adaa8dfd089f595b74f47457128367a5 (diff) | |
download | lite-xl-plugin-manager-f6f8ff1311eeac8d349faf66fe01f0e39c640662.tar.gz lite-xl-plugin-manager-f6f8ff1311eeac8d349faf66fe01f0e39c640662.zip |
Added in prompt for uninstalling lite-xls.
-rw-r--r-- | src/lpm.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 2e0b7fb..fe60af3 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1425,7 +1425,9 @@ end function LiteXL:uninstall() if not system.stat(self.local_path) then error("lite-xl " .. self.version .. " not installed") end - common.rmrf(self.local_path) + if prompt("This will delete " .. self.local_path .. ". Are you sure you want to continue?") then + common.rmrf(self.local_path) + end end |