Update README.md
This commit is contained in:
parent
3c3d9dbf46
commit
c02ad7e8ec
43
README.md
43
README.md
|
@ -3,14 +3,51 @@
|
||||||
Pack elf binary and it's dependencies into standalone executable using appimagetool.
|
Pack elf binary and it's dependencies into standalone executable using appimagetool.
|
||||||
`packelf-appimage` was inspired by https://github.com/oufm/packelf.
|
`packelf-appimage` was inspired by https://github.com/oufm/packelf.
|
||||||
|
|
||||||
|
## Usage packelf:
|
||||||
## usage
|
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: ./packelf-appimage.sh <ELF_SRC_PATH> <ELF_DST_PATH>
|
Usage: ./packelf-appimage.sh <ELF_SRC_PATH> <ELF_DST_PATH>
|
||||||
```
|
```
|
||||||
|
|
||||||
## dependence
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./packelf-appimage.sh /usr/bin/mpv mpv-x86_64.AppImage
|
||||||
|
```
|
||||||
|
|
||||||
|
## Extract without running:
|
||||||
|
|
||||||
|
You can extract the files of a created package without executing it with the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./<package> --appimage-extract
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage packelf-copylibs:
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: ./packelf-appimage-copylibs.sh <ELF_SRC_PATH> <PATH_TO_COPY_LIBRARIES>
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./packelf-appimage-copylibs.sh /usr/bin/mpv /opt/mpv-libs/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage packelf-folder:
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: ./packelf-appimage-folder.sh <FOLDER> <FILENAME> <EXECUTABLE_RUN>
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./packelf-folder.sh /opt/mpv-package mpv-x86_64.AppImage run.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
* sh
|
* sh
|
||||||
* tar
|
* tar
|
||||||
* sed
|
* sed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user