-
Notifications
You must be signed in to change notification settings - Fork 32
extractFile
Pk11 edited this page Jan 22, 2023
·
11 revisions
The extractFile
function has 3 parameters. It extracts files matching a RegExp from an archive.
-
file
-> The Path to the Archive -
input
-> What exactly in the Archive should be extracted? This will be parsed as a RegExp -
output
-> Where should it be extracted?
Example for extracting a folder:
{
"type": "extractFile",
"file": "/Spritesheets.zip",
"input": "",
"output": "/LeafEdit/"
}
/
Example for extracting a file:
{
"type": "extractFile",
"file": "/LeafEdit.7z",
"input": "LeafEdit.3dsx",
"output": "/3ds/LeafEdit.3dsx"
}
Need help? Join our Discord server or create a discussion.