mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-12 22:03:29 +02:00
Fix document missing on docify
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
# Docify
|
||||
Simple PDF document manager
|
||||
Simple PDF document manager
|
||||
|
||||
## Change logs
|
||||
- v0.0.3-a: Fix document moved bug, sort entries by year, month, day
|
@ -50,8 +50,10 @@ local merge_files = function(data)
|
||||
cmd = "chmod 777 "..vfs.ospath(fpath)
|
||||
os.execute(cmd)
|
||||
else
|
||||
if not vfs.move(firstfile, fpath) then
|
||||
return error("Unable to move file")
|
||||
local cmd = "mv \""..vfs.ospath(firstfile).."\" \""..vfs.ospath(fpath).."\""
|
||||
os.execute(cmd)
|
||||
if not vfs.exists(fpath) then
|
||||
return error("Unable to move PDF file")
|
||||
end
|
||||
end
|
||||
-- move the thumb file to the cache folder
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.2-a",
|
||||
"version":"0.0.3-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user