You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***`--xz`** : Use xz instead of gzip for better compression. The xz command must be available in the command path. It is recommended that the archive prefix be set to something like '.xz.run' for the archive, so that potential users know that they'll need xz to extract it.
83
83
***`--lzo`** : Use lzop instead of gzip for better compression. The lzop command must be available in the command path. It is recommended that the archive prefix be set to something like `.lzo.run` for the archive, so that potential users know that they'll need lzop to extract it.
84
84
***`--lz4`** : Use lz4 instead of gzip for better compression. The lz4 command must be available in the command path. It is recommended that the archive prefix be set to something like '.lz4.run' for the archive, so that potential users know that they'll need lz4 to extract it.
85
+
***`--zstd`** : Use zstd instead of gzip for better compression. The zstd command must be available in the command path. It is recommended that the archive prefix be set to something like '.zstd.run' for the archive, so that potential users know that they'll need zstd to extract it.
85
86
***`--pigz`** : Use pigz for compression.
86
87
***`--base64`** : Encode the archive to ASCII in Base64 format instead of compressing (base64 command required).
87
88
***`--gpg-encrypt`** : Encrypt the archive using `gpg -ac -z $COMPRESS_LEVEL`. This will prompt for a password to encrypt with. Assumes that potential users have `gpg` installed.
88
89
***`--ssl-encrypt`** : Encrypt the archive using `openssl aes-256-cbc -a -salt`. This will prompt for a password to encrypt with. Assumes that the potential users have the OpenSSL tools installed.
89
90
***`--compress`** : Use the UNIX `compress` command to compress the data. This should be the default on all platforms that don't have gzip available.
90
91
***`--nocomp`** : Do not use any compression for the archive, which will then be an uncompressed TAR.
91
-
***`--complevel`** : Specify the compression level for gzip, bzip2, pbzip2, xz, lzo or lz4. (defaults to 9)
92
+
***`--complevel`** : Specify the compression level for gzip, bzip2, pbzip2, zstd, xz, lzo or lz4. (defaults to 9)
92
93
***`--threads`** : Specify the number of threads to be used by compressors that support parallelization. Omit to use compressor's default. Most useful (and required) for opting into xz's threading, usually with `--threads=0` for all available cores. pbzip2 and pigz are parallel by default, and setting this value allows limiting the number of threads they use.
93
94
***`--notemp`** : The generated archive will not extract the files to a temporary directory, but in a new directory created in the current directory. This is better to distribute software packages that may extract and compile by themselves (i.e. launch the compilation through the embedded script).
94
95
***`--current`** : Files will be extracted to the current directory, instead of in a subdirectory. This option implies `--notemp` above.
95
96
***`--follow`** : Follow the symbolic links inside of the archive directory, i.e. store the files that are being pointed to instead of the links themselves.
96
97
***`--append`**_(new in 2.1.x)_: Append data to an existing archive, instead of creating a new one. In this mode, the settings from the original archive are reused (compression type, label, embedded script), and thus don't need to be specified again on the command line.
97
-
***`--header`** : Makeself 2.0 uses a separate file to store the header stub, called `makeself-header.sh`. By default, it is assumed that it is stored in the same location as makeself.sh. This option can be used to specify its actual location if it is stored someplace else.
98
+
***`--header`** : Makeself uses a separate file to store the header stub, called `makeself-header.sh`. By default, it is assumed that it is stored in the same location as makeself.sh. This option can be used to specify its actual location if it is stored someplace else.
98
99
***`--cleanup`** : Specify a script that is run when execution is interrupted or finishes successfully. The script is executed with the same environment and initial `script_args` as `startup_script`.
99
100
***`--copy`** : Upon extraction, the archive will first extract itself to a temporary directory. The main application of this is to allow self-contained installers stored in a Makeself archive on a CD, when the installer program will later need to unmount the CD and allow a new one to be inserted. This prevents "Filesystem busy" errors for installers that span multiple CDs.
100
101
***`--nox11`** : Disable the automatic spawning of a new terminal in X11.
***`--help-header file`** : Add a header to the archive's `--help` output.
115
116
*`archive_dir` is the name of the directory that contains the files to be archived
116
117
*`file_name` is the name of the archive to be created
117
-
*`label` is an arbitrary text string describing the package. It will be displayed while extracting the files.
118
+
*`label` is an arbitrary text string describing the package. It will be displayed while extracting the files.
118
119
*`startup_script` is the command to be executed _from within_ the directory of extracted files. Thus, if you wish to execute a program contain in this directory, you must prefix your command with `./`. For example, `./program` will be fine. The `script_args` are additional arguments for this command.
119
120
120
121
Here is an example, assuming the user has a package image stored in a **/home/joe/mysoft**, and he wants to generate a self-extracting package named
@@ -125,7 +126,7 @@ Here is an example, assuming the user has a package image stored in a **/home/jo
125
126
126
127
Here is also how I created the [makeself.run][9] archive which contains the Makeself distribution :
127
128
128
-
`makeself.sh --notemp makeself makeself.run "Makeself by Stephane Peter" echo "Makeself has extracted itself" `
129
+
`makeself.sh --notemp makeself makeself.run "Makeself by Stephane Peter" echo "Makeself has extracted itself" `
129
130
130
131
Archives generated with Makeself can be passed the following arguments:
131
132
@@ -179,7 +180,7 @@ I will gladly consider merging your pull requests on the [GitHub][10] repository
179
180
180
181
## Download
181
182
182
-
Get the latest official distribution [here][9] (version 2.4.0).
183
+
Get the latest official distribution [here][9] (version 2.4.2).
183
184
184
185
The latest development version can be grabbed from [GitHub][10]. Feel free to submit any patches there through the fork and pull request process.
185
186
@@ -232,7 +233,7 @@ This project is now hosted on GitHub. Feel free to submit patches and bug report
0 commit comments