mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
Make careful_delete go with the new name :)
This commit is contained in:
parent
e3a4c4861c
commit
2ef151cdca
1 changed files with 3 additions and 3 deletions
|
@ -79,11 +79,11 @@ func careful_delete(path_inside):
|
||||||
var os = OS.get_name()
|
var os = OS.get_name()
|
||||||
|
|
||||||
if os == "X11":
|
if os == "X11":
|
||||||
expected_prefix = "/home/%s/.local/share/git-hydra/tmp/" % OS.get_environment("USER")
|
expected_prefix = "/home/%s/.local/share/Git Guru/tmp/" % OS.get_environment("USER")
|
||||||
elif os == "OSX":
|
elif os == "OSX":
|
||||||
expected_prefix = "/Users/%s/Library/Application Support/git-hydra/tmp/" % OS.get_environment("USER")
|
expected_prefix = "/Users/%s/Library/Application Support/Git Guru/tmp/" % OS.get_environment("USER")
|
||||||
elif os == "Windows":
|
elif os == "Windows":
|
||||||
expected_prefix = "C:/Users/%s/AppData/Roaming/git-hydra/tmp/" % OS.get_environment("USERNAME")
|
expected_prefix = "C:/Users/%s/AppData/Roaming/Git Guru/tmp/" % OS.get_environment("USERNAME")
|
||||||
else:
|
else:
|
||||||
helpers.crash("Unsupported OS: %s" % os)
|
helpers.crash("Unsupported OS: %s" % os)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue