Closed zhanghba closed 1 year ago
I don't know where you got that --uninstall
from as it's not a Makeself argument.
use script para,
it successful with ./go.run -- --uninstall
./go.run -- --uninstall
Verifying archive integrity... 100% All good.
Uncompressing sdsadfasdff 100%
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
and how can i use the --para not -- --para
The --
is used to separate arguments to Makeself itself from arguments to the embedded script. There's no way around it.
`micros@micros-Precision-5820-Tower:/home/zhanghongbin/test$ ./t/in.sh --uninstall &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& micros@micros-Precision-5820-Tower:/home/zhanghongbin/test$ makeself t go.run "sdsadfasdff" ./in.sh Header is 521 lines long
WARNING: Overwriting existing file: go.run About to compress 76 KB of data... Adding files to archive named "go.run"... ./ ./go.sh ./in.sh ./install.sh CRC: 156523252 MD5: 09f5ecaac2853fb9fdff70e437b0ca43
Self-extractable archive "go.run" successfully created. micros@micros-Precision-5820-Tower:/home/zhanghongbin/test$ ./go.run --uninstall Unrecognized flag : --uninstall Makeself version 2.3.0 1) Getting help or info about ./go.run : ./go.run --help Print this message ./go.run --info Print embedded info : title, default target directory, embedded script ... ./go.run --lsm Print embedded lsm entry (or no LSM) ./go.run --list Print the list of files in the archive ./go.run --check Checks integrity of the archive
2) Running ./go.run : ./go.run [options] [--] [additional arguments to embedded script] with following options (in that order) --confirm Ask before running embedded script --quiet Do not print anything except error messages --noexec Do not run embedded script --keep Do not erase target directory after running the embedded script --noprogress Do not show the progress during the decompression --nox11 Do not spawn an xterm --nochown Do not give the extracted files to the current user --target dir Extract directly to a target directory directory path can be either absolute or relative --tar arg1 [arg2 ...] Access the contents of the archive through the tar command -- Following arguments will be passed to the embedded script micros@micros-Precision-5820-Tower:/home/zhanghongbin/test$ `