Fix renaming of backups with spaces, 2.3.2.3
diff --git a/gui/devices/1024x600/res/ui.xml b/gui/devices/1024x600/res/ui.xml
index cfcb52f..1a25036 100755
--- a/gui/devices/1024x600/res/ui.xml
+++ b/gui/devices/1024x600/res/ui.xml
@@ -2253,7 +2253,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/1024x768/res/ui.xml b/gui/devices/1024x768/res/ui.xml
index 8e1a148..b6da352 100644
--- a/gui/devices/1024x768/res/ui.xml
+++ b/gui/devices/1024x768/res/ui.xml
@@ -2253,7 +2253,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml
index d7cbaaa..9904b5a 100644
--- a/gui/devices/1280x800/res/ui.xml
+++ b/gui/devices/1280x800/res/ui.xml
@@ -2253,7 +2253,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/1920x1200/res/ui.xml b/gui/devices/1920x1200/res/ui.xml
index fa17649..c0dd0b6 100644
--- a/gui/devices/1920x1200/res/ui.xml
+++ b/gui/devices/1920x1200/res/ui.xml
@@ -2253,7 +2253,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/320x480/res/ui.xml b/gui/devices/320x480/res/ui.xml
index 1d31719..64764d8 100644
--- a/gui/devices/320x480/res/ui.xml
+++ b/gui/devices/320x480/res/ui.xml
@@ -1830,7 +1830,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml
index a8eee60..798e9b9 100644
--- a/gui/devices/480x800/res/ui.xml
+++ b/gui/devices/480x800/res/ui.xml
@@ -1829,7 +1829,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml
index 13629b4..62fb909 100644
--- a/gui/devices/480x854/res/ui.xml
+++ b/gui/devices/480x854/res/ui.xml
@@ -1828,7 +1828,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml
index d586912..5e90ae0 100644
--- a/gui/devices/540x960/res/ui.xml
+++ b/gui/devices/540x960/res/ui.xml
@@ -1829,7 +1829,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/720x1280/res/ui.xml b/gui/devices/720x1280/res/ui.xml
index e3dd6ac..9be4086 100644
--- a/gui/devices/720x1280/res/ui.xml
+++ b/gui/devices/720x1280/res/ui.xml
@@ -1834,7 +1834,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/800x1280/res/ui.xml b/gui/devices/800x1280/res/ui.xml
index 37f4c1e..c435cf9 100755
--- a/gui/devices/800x1280/res/ui.xml
+++ b/gui/devices/800x1280/res/ui.xml
@@ -1830,7 +1830,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>
diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml
index 302388a..3241e99 100755
--- a/gui/devices/800x480/res/ui.xml
+++ b/gui/devices/800x480/res/ui.xml
@@ -2253,7 +2253,7 @@
<actions>
<action function="set">tw_back=restore</action>
<action function="set">tw_action=cmd</action>
- <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
+ <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action>
<action function="set">tw_text1=Rename Backup?</action>
<action function="set">tw_text2=This cannot be undone!</action>
<action function="set">tw_action_text1=Renaming Backup...</action>