Running the following:
$ jpackager create-image --output outdir --name appname ...
will recursively delete outdir/appname, e.g., `rm -rf outdir/appname` regardless of the previous contents of the appname directory, which seems dangerous and could be surprising to developers.
I think it would be better for jpackager to report an error if outdir/appname exists.
$ jpackager create-image --output outdir --name appname ...
will recursively delete outdir/appname, e.g., `rm -rf outdir/appname` regardless of the previous contents of the appname directory, which seems dangerous and could be surprising to developers.
I think it would be better for jpackager to report an error if outdir/appname exists.