mirror of
https://github.com/Ascyii/gpg.yazi.git
synced 2026-01-01 10:54:24 -05:00
Debug
This commit is contained in:
2
main.lua
2
main.lua
@@ -20,6 +20,8 @@ return {
|
|||||||
return info("No file selected")
|
return info("No file selected")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
info(hovered)
|
||||||
|
|
||||||
local output, err = Command("gpg"):arg("--yes"):arg("--recipient"):arg("jonashahn1@gmx.net"):arg("--output"):arg(hovered .. ".gpg"):arg("--encrypt"):arg(hovered):output()
|
local output, err = Command("gpg"):arg("--yes"):arg("--recipient"):arg("jonashahn1@gmx.net"):arg("--output"):arg(hovered .. ".gpg"):arg("--encrypt"):arg(hovered):output()
|
||||||
if not output then
|
if not output then
|
||||||
return info("Failed to gpg diff, error: " .. err)
|
return info("Failed to gpg diff, error: " .. err)
|
||||||
|
|||||||
Reference in New Issue
Block a user