mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 14:14:27 +02:00
update docify
This commit is contained in:
@ -1,15 +1,2 @@
|
||||
# Docify
|
||||
This is an example project, generated by AntOS Development Kit
|
||||
|
||||
## Howto
|
||||
Use the CodePad command palette to access to the SDK functionalities:
|
||||
|
||||
1. Create new project
|
||||
2. Init the project from the current folder located in side bar
|
||||
3. Build and run the project
|
||||
4. Release the project in zip package
|
||||
|
||||
## Set up build target
|
||||
|
||||
Open the `project.json` file from the current project tree and add/remove
|
||||
build target entries. Save the file
|
||||
Simple PDF document manager
|
@ -41,7 +41,7 @@ local merge_files = function(data)
|
||||
if #data.file > 1 then
|
||||
local cmd = "gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="..vfs.ospath(fpath)
|
||||
for i,v in ipairs(data.file) do
|
||||
cmd = cmd.." "..vfs.ospath(v)
|
||||
cmd = cmd.." \""..vfs.ospath(v).."\""
|
||||
end
|
||||
os.execute(cmd)
|
||||
if not vfs.exists(fpath) then
|
||||
@ -233,7 +233,7 @@ handle.preview = function(path)
|
||||
local tpath = docpath.."/cache/"..name
|
||||
if not vfs.exists(tpath) then
|
||||
-- regenerate thumb
|
||||
local cmd = "convert -resize 250x500 "..vfs.ospath(path).."[0] "..vfs.ospath(tpath)
|
||||
local cmd = "convert -resize 250x500 \""..vfs.ospath(path).."\"[0] "..vfs.ospath(tpath)
|
||||
os.execute(cmd)
|
||||
end
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"version":"0.0.2-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user