(feat): First iteration of the script
This commit is contained in:
		
							parent
							
								
									c84e436f0f
								
							
						
					
					
						commit
						30a4392a0e
					
				
					 1 changed files with 41 additions and 0 deletions
				
			
		
							
								
								
									
										41
									
								
								steam_download_speed_fix.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										41
									
								
								steam_download_speed_fix.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,41 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | 
 | ||||||
|  | config="steam_dev.cfg" | ||||||
|  | 
 | ||||||
|  | echo "Running Steam download fix" | ||||||
|  | echo "Checking for native install." | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | if [ -d "$HOME/.steam/steam/" ] | ||||||
|  | then | ||||||
|  | 		echo "Native Steam installation was detected. Do you want to continue?" | ||||||
|  | 		select yn in "Yes" "No"; do | ||||||
|  |     case $yn in | ||||||
|  |         Yes ) cp "$config" "$HOME/.steam/steam/"; break;; | ||||||
|  |         No ) exit;; | ||||||
|  |     esac | ||||||
|  | done | ||||||
|  | 	else | ||||||
|  | 		echo "Native Steam installation was not detected. Checking for Flatpak." | ||||||
|  | if [ -d "$HOME/.var/app/com.valvesoftware.Steam/.steam/steam/" ] | ||||||
|  | then | ||||||
|  | 		echo "Flatpak Steam install was detected. Do you want to continue with the fix?" | ||||||
|  | 		select yn in "Yes" "No"; do | ||||||
|  |     case $yn in | ||||||
|  |         Yes ) cp "$config" "$HOME/.var/app/com.valvesoftware.Steam/.steam/steam/"; break;; | ||||||
|  |         No ) exit;; | ||||||
|  |     esac | ||||||
|  | done | ||||||
|  | 	else | ||||||
|  | 		echo "No Steam installation was not detected" | ||||||
|  | 	fi | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # Flatpak Install | ||||||
|  | #~/.var/app/com.valvesoftware.Steam/.steam/steam/steam_dev.cfg | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # Native Install | ||||||
|  | #~/.steam/steam/steam_dev.cfg | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Blake Ridgway
						Blake Ridgway