Merge pull request #1 from Gecked-Deck/Gecked-Deck-patch-1

Fix: Fix configure_waydroid just script
This commit is contained in:
Gecked-Deck 2023-08-24 19:22:26 +01:00 committed by GitHub
commit ab54d83e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,15 +20,17 @@ enable-desktop-autologin:
configure-waydroid:
#!/usr/bin/env bash
SCRIPT='/tmp/waydroid_script'
git clone https://github.com/casualsnek/waydroid_script --depth 1 ${SCRIPT}
cd ~
git clone https://github.com/casualsnek/waydroid_script
cd ~/waydroid_script
python -m venv venv
source venv/bin/activate
sudo pip install -r ${SCRIPT}/requirements.txt
sudo ${SCRIPT}/main.py
sudo pip uninstall -r ${SCRIPT}/requirements.txt -y
sudo pip install -r ~/waydroid_script/requirements.txt
sudo ~/waydroid_script/main.py
sudo pip uninstall -r ~/waydroid_script/requirements.txt -y
deactivate
sudo rm -rf ${SCRIPT}
rm -rf ~/waydroid_script
get-decky: