mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
added setup tools extended
This commit is contained in:
parent
5f5658c0c7
commit
1edec1ab5d
@ -1626,11 +1626,26 @@ cd "$download_dir"/setuptools-*/
|
|||||||
# Add the installation directory to the PYTHONPATH environment variable
|
# Add the installation directory to the PYTHONPATH environment variable
|
||||||
export PYTHONPATH="$download_dir/lib/python3.10/site-packages:$PYTHONPATH"
|
export PYTHONPATH="$download_dir/lib/python3.10/site-packages:$PYTHONPATH"
|
||||||
|
|
||||||
|
echo $PYTHONPATH
|
||||||
|
|
||||||
# Install setuptools
|
# Install setuptools
|
||||||
python setup.py install --prefix="$download_dir"
|
python setup.py install --prefix="$download_dir"
|
||||||
|
|
||||||
export PYTHONPATH="/usr/lib/python3.10/site-packages:$PYTHONPATH"
|
export PYTHONPATH="/usr/lib/python3.10/site-packages:$PYTHONPATH"
|
||||||
|
|
||||||
|
# Download extended-setup-tools from the provided URL
|
||||||
|
download_url="https://files.pythonhosted.org/packages/d2/a0/979ab67627f03da03eff3bc9d01c2969d89e33175764cdd5ec15a44efe50/extended-setup-tools-0.1.8.tar.gz"
|
||||||
|
wget -P "$download_dir" "$download_url"
|
||||||
|
|
||||||
|
# Extract the downloaded tar.gz file
|
||||||
|
tar -xvf "$download_dir"/extended-setup-tools-*.tar.gz -C "$download_dir"
|
||||||
|
|
||||||
|
# Change to the extracted directory
|
||||||
|
cd "$download_dir"/extended-setup-tools-*/
|
||||||
|
|
||||||
|
# Install extended-setup-tools
|
||||||
|
python setup.py install --prefix="$download_dir"
|
||||||
|
|
||||||
# Change to the extracted directory
|
# Change to the extracted directory
|
||||||
cd "$download_dir"/vdf-*/
|
cd "$download_dir"/vdf-*/
|
||||||
|
|
||||||
@ -1644,9 +1659,6 @@ python setup.py install --prefix=~/Downloads/NonSteamLaunchersInstallation
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Find all shortcuts.vdf files
|
# Find all shortcuts.vdf files
|
||||||
shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;)
|
shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;)
|
||||||
|
|
||||||
@ -2297,7 +2309,7 @@ with open('$shortcuts_vdf_path', 'wb') as f:
|
|||||||
|
|
||||||
|
|
||||||
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
||||||
rm -rf ~/Downloads/NonSteamLaunchersInstallation
|
#rm -rf ~/Downloads/NonSteamLaunchersInstallation
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2309,8 +2321,8 @@ rm -rf ~/Downloads/NonSteamLaunchersInstallation
|
|||||||
|
|
||||||
|
|
||||||
# Detach script from Steam process
|
# Detach script from Steam process
|
||||||
nohup sh -c 'sleep 10; /usr/bin/steam' &
|
#nohup sh -c 'sleep 10; /usr/bin/steam' &
|
||||||
|
|
||||||
# Close all instances of Steam
|
# Close all instances of Steam
|
||||||
killall steam
|
#killall steam
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user