mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Use dosdevices instead of always in the c_drive. (#296)
This commit is contained in:
@@ -70,7 +70,8 @@ fn get_manifest_item(dir_entry: DirEntry, _path: Option<PathBuf>) -> Option<Mani
|
||||
//Strip off the c:\\
|
||||
item.manifest_location = compat_folder
|
||||
.join("pfx")
|
||||
.join("drive_c")
|
||||
.join("dosdevices")
|
||||
.join(&item.manifest_location[0..2].to_lowercase())
|
||||
.join(&item.manifest_location[3..].replace('\\', "/"))
|
||||
.to_path_buf()
|
||||
.to_string_lossy()
|
||||
@@ -78,7 +79,8 @@ fn get_manifest_item(dir_entry: DirEntry, _path: Option<PathBuf>) -> Option<Mani
|
||||
|
||||
item.install_location = compat_folder
|
||||
.join("pfx")
|
||||
.join("drive_c")
|
||||
.join("dosdevices")
|
||||
.join(&item.install_location[0..2].to_lowercase())
|
||||
.join(&item.install_location[3..].replace('\\', "/"))
|
||||
.to_path_buf()
|
||||
.to_string_lossy()
|
||||
|
||||
Reference in New Issue
Block a user