mirror of
https://github.com/Relintai/MemR.git
synced 2024-11-12 10:25:05 +01:00
Quote the files when writing the commands.
This commit is contained in:
parent
713cd3a147
commit
d8f3561649
@ -246,7 +246,7 @@ func _on_Apply_pressed() -> void:
|
||||
print("_on_Apply_pressed dir.copy(cimagefn, targetf) err != OK! " + str(err))
|
||||
return
|
||||
|
||||
append_command("mv " + cimagefn + " " + targetf)
|
||||
append_command("mv \"" + cimagefn + "\" \"" + targetf + "\"")
|
||||
|
||||
err = dir.remove(cimagefn)
|
||||
|
||||
@ -282,7 +282,7 @@ func _on_NewCategoryPopup_confirmed() -> void:
|
||||
var d : Directory = Directory.new()
|
||||
d.make_dir_recursive(folder)
|
||||
|
||||
append_command("mkdir " + folder)
|
||||
append_command("mkdir \"" + folder + "\"")
|
||||
|
||||
refresh_categories()
|
||||
refresh_sub_categories()
|
||||
@ -300,7 +300,7 @@ func _on_NewSubCategoryPopup_confirmed() -> void:
|
||||
var d : Directory = Directory.new()
|
||||
d.make_dir_recursive(folder)
|
||||
|
||||
append_command("mkdir " + folder)
|
||||
append_command("mkdir \"" + folder + "\"")
|
||||
|
||||
refresh_sub_categories()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user