mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: add appimage command to GNU/Linux build script
With this addition, the `package` command simply creates a standalone package, while "appimage" is the one that creates the actual AppImage. The "all" command still generates the AppImage as before.
This commit is contained in:
parent
e47a70606c
commit
6fedc9eb83
@ -48,7 +48,7 @@ if [ "$#" -ne 2 ]; then
|
||||
fi
|
||||
|
||||
COMMAND=$1
|
||||
if [ "$COMMAND" != "install" ] && [ "$COMMAND" != "package" ] && [ "$COMMAND" != "all" ]; then
|
||||
if [ "$COMMAND" != "install" ] && [ "$COMMAND" != "package" ] && [ "$COMMAND" != "appimage" ] && [ "$COMMAND" != "all" ]; then
|
||||
echo "Unknown command: $COMMAND" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
@ -174,7 +174,8 @@ if [ "$COMMAND" == "package" ] || [ "$COMMAND" == "all" ]; then
|
||||
if [ "$ARCH" == "x64" ]; then
|
||||
package_x64 etcher-release
|
||||
fi
|
||||
|
||||
installer etcher-release/Etcher-linux-$ARCH $ARCH etcher-release/installers
|
||||
fi
|
||||
|
||||
if [ "$COMMAND" == "appimage" ] || [ "$COMMAND" == "all" ]; then
|
||||
installer etcher-release/Etcher-linux-$ARCH $ARCH etcher-release/installers
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user