INNER CODE UNIT · Python
remove_proton
AUNaseef/protonup · protonup/api.py:194
def remove_proton(version=None) -> bool:
"""Uninstall existing proton installation"""
target = install_directory() + str(version)
if os.path.exists(target):
shutil.rmtree(target)
return True
return False