Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ endif()

add_definitions(-D_CRT_SECURE_NO_WARNINGS)

set (V8UNPACK_SOURCES src/main.cpp src/V8File.cpp src/utils.cpp src/placeholder216.cpp src/VersionFile.cpp)
set (V8UNPACK_HEADERS src/V8File.h src/version.h src/zconf.h src/zlib.h src/VersionFile.h)
set (V8UNPACK_SOURCES src/main.cpp src/V8File.cpp src/utils.cpp src/placeholder216.cpp src/VersionFile.cpp src/VersionsTable.cpp)
set (V8UNPACK_HEADERS src/V8File.h src/version.h src/zconf.h src/zlib.h src/VersionFile.h src/VersionsTable.h)

if((MSVC) AND (NOT DISABLE_SINGLE_FILE))

Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ sudo dpkg -i v8unpack.deb
## Использование

```
-U[NPACK] in_filename.cf out_dirname
-U[NPACK] in_filename.cf out_dirname [block_name]
-U[NPACK] in_filename.cf - block_name
-U[NPACK] -L[IST] listfile
-PA[CK] in_dirname out_filename.cf
-PA[CK] -L[IST] listfile
Expand All @@ -51,6 +52,18 @@ sudo dpkg -i v8unpack.deb
-D[EFLATE] -L[IST] listfile
-P[ARSE] in_filename out_dirname
-P[ARSE] -L[IST] listfile
-DEL[ETE] in_filename [block_mask1 block_mask2 ...]
-DEL[ETE] -L[IST] listfile
-ADD [-PACK|-BUILD [-NOPACK]] [-N[AME] name] source|- out_filename
-ADD [-PACK|-BUILD [-NOPACK]] -LISTFILES|-LF listfile out_filename
-PUT [-PACK|-BUILD [-NOPACK]] [-N[AME] name] source|- out_filename
-PUT [-PACK|-BUILD [-NOPACK]] -LISTFILES|-LF listfile out_filename
-B[UILD] [-N[OPACK]] in_dirname out_filename
-B[UILD] [-N[OPACK]] -L[IST] listfile
-VERSIONSFILE|-VF -SHOW in_filename
-VERSIONSFILE|-VF -GET in_filename block_name
-VERSIONSFILE|-VF -SET in_filename block_name version
-VERSIONSFILE|-VF -SET -LIST|-LF listfile in_filename
-VERSIONSFILE|-VF -UPDATE in_filename block_name
-VERSIONSFILE|-VF -UPDATE -LIST|-LF listfile in_filename
```
4 changes: 2 additions & 2 deletions package/deb/bash_completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ _v8unpack_complete()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD]}"
opts="-unpack -pack -parse -build -inflate -deflate \
-list -example -bat -version -listfiles"
opts="-unpack -pack -parse -build -inflate -deflate -delete -add -put \
-list -example -bat -version -listfiles -versionsfile -vf"

if [[ ${COMP_CWORD} == 1 ]] ; then
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
Expand Down
Loading
Loading