mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Update scripts
This commit is contained in:
parent
9db4cc300b
commit
3d2f5b4adf
2 changed files with 16 additions and 0 deletions
14
get-xpipe.sh
14
get-xpipe.sh
|
@ -186,6 +186,20 @@ return 0 2>/dev/null
|
|||
|
||||
check_architecture "$(uname -m)" || exit 1
|
||||
|
||||
if ! [ -x "$(command -v apt)" ] && ! [ -x "$(command -v rpm)" ] && [ -x "$(command -v pacman)" ]; then
|
||||
info "Installing from AUR"
|
||||
git clone "https://aur.archlinux.org/xpipe.git" /tmp/xpipe_aur
|
||||
cd "/tmp/xpipe_aur"
|
||||
pkgbuild -si
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v apt)" ] && ! [ -x "$(command -v rpm)" ] && ! [ -x "$(command -v pacman)" ]; then
|
||||
info "Installation is not supported on this system (no apt, rpm, pacman). Can you try a portable version of XPipe?"
|
||||
info "https://github.com/xpipe-io/xpipe#portable"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
repo="https://github.com/xpipe-io/xpipe"
|
||||
version=
|
||||
while getopts 'sv:' OPTION; do
|
||||
|
|
2
setup.sh
2
setup.sh
|
@ -12,3 +12,5 @@ fi;
|
|||
|
||||
sdk install java 20.0.1-graalce
|
||||
sdk default java 20.0.1-graalce
|
||||
|
||||
./gradlew app:run
|
||||
|
|
Loading…
Reference in a new issue