diff options
Diffstat (limited to 'patches/003_virtualbox-7.0.8-restore_old_machines_dir.patch')
-rw-r--r-- | patches/003_virtualbox-7.0.8-restore_old_machines_dir.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/003_virtualbox-7.0.8-restore_old_machines_dir.patch b/patches/003_virtualbox-7.0.8-restore_old_machines_dir.patch new file mode 100644 index 0000000..06be394 --- /dev/null +++ b/patches/003_virtualbox-7.0.8-restore_old_machines_dir.patch @@ -0,0 +1,12 @@ +--- VirtualBox-7.0.8/src/VBox/Main/src-server/SystemPropertiesImpl.cpp ++++ VirtualBox-7.0.8/src/VBox/Main/src-server/SystemPropertiesImpl.cpp +@@ -2171,7 +2171,8 @@ + // new default with VirtualBox 4.0: "$HOME/VirtualBox VMs" + HRESULT hrc = i_getUserHomeDirectory(path); + if (FAILED(hrc)) return hrc; +- path += RTPATH_SLASH_STR "VirtualBox VMs"; ++ path += RTPATH_SLASH_STR ".VirtualBox"; ++ path += RTPATH_SLASH_STR "Machines"; + } + + if (!RTPathStartsWithRoot(path.c_str())) |