mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[BOOTDATA] Explicitly add "Profiles/Default User/My Documents" to the LiveImage (#8936)
CORE-19691 Removing the `livecd_start.cmd` entry also caused the "Profiles/Default User/My Documents" directory to not be created in the LiveImage. When booting it, this caused explorer.exe to hang while loading the desktop, for **some** (but not all) non-english environments. (Technically it should instead ignore the non-existing directory if it cannot create or open it, or drop an error then continue execution... But that's another bug for another time!) Adding back the creation of this directory fixes the hang.
This commit is contained in:
@@ -124,6 +124,7 @@ function(add_user_profile_dirs _image_filelist _rootdir _username)
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/Application Data=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/History=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/Temporary Internet Files=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Documents=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Music=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Pictures=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Videos=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||
|
||||
Reference in New Issue
Block a user