mirror of
				https://github.com/the-sane/lug-helper.git
				synced 2025-10-31 21:22:48 +00:00 
			
		
		
		
	Back up existing launch script
This commit is contained in:
		| @@ -2844,6 +2844,10 @@ install_game_wine() { | ||||
|  | ||||
|     # Copy game launch script to the wine prefix root directory | ||||
|     debug_print continue "Copying game launch script to ${install_dir}..." | ||||
|     if [ -f "$install_dir/$wine_launch_script_name" ]; then | ||||
|         # Back it up if it already exists | ||||
|         cp "$install_dir/$wine_launch_script_name" "$install_dir/$(basename "$wine_launch_script_name" .sh).bak" | ||||
|     fi | ||||
|     cp "$wine_launch_script" "$install_dir" | ||||
|     installed_launch_script="$install_dir/$wine_launch_script_name" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user