Skip to content

Commit

Permalink
Combine install-32 and install-64 as well as fix fuse implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sussy-OS committed Aug 6, 2023
1 parent 3aedb97 commit 1800574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 29 deletions.
8 changes: 6 additions & 2 deletions apps/Open-Typer/install-32 → apps/Open-Typer/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
version=5.2.0

#Install Depends
install_packages libfuse2 || exit 1
enable_module fuse || exit 1

#Download Open-Typer build from repo
wget -O /tmp/Open-Typer.AppImage https://github.com/Open-Typer/Open-Typer/releases/download/v${version}/Open-Typer-armhf.AppImage || error "Failed to download AppImage!"
case "$arch" in
"64") wget -O /tmp/Open-Typer.AppImage https://github.com/Open-Typer/Open-Typer/releases/download/v${version}/Open-Typer-aarch64.AppImage || error "Failed to download AppImage!" ;;
"32") wget -O /tmp/Open-Typer.AppImage https://github.com/Open-Typer/Open-Typer/releases/download/v${version}/Open-Typer-armhf.AppImage || error "Failed to download AppImage!" ;;
*) error "arch variable is not set, can not continue" ;;
esac

#Move Open-Typer.AppImage to /opt
sudo mv /tmp/Open-Typer.AppImage /opt || error "Failed to move from /tmp to /opt!"
Expand Down
27 changes: 0 additions & 27 deletions apps/Open-Typer/install-64

This file was deleted.

0 comments on commit 1800574

Please sign in to comment.