mirror of
https://github.com/Ascyii/gpg.yazi.git
synced 2026-01-01 02:44:24 -05:00
Oh
This commit is contained in:
2
main.lua
2
main.lua
@@ -20,7 +20,7 @@ return {
|
|||||||
return info("No file selected")
|
return info("No file selected")
|
||||||
end
|
end
|
||||||
|
|
||||||
local output, err = Command("gpg"):arg("--yes"):arg("--recipient"):arg("jonashahn1@gmx.net"):arg(hovered):arg("--encrypt"):arg(hovered .. ".gpg"):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)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user