Merge pull request #181 from Gecked-Deck/main

Fix: Fix configure_waydroid script in just file
This commit is contained in:
Kyle Gospodnetich 2023-08-24 12:01:03 -07:00 committed by GitHub
commit 5ba1caf89d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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