[VFS] Fixed "Install Content" option on Linux
This commit is contained in:
@@ -342,7 +342,8 @@ X_STATUS VirtualFileSystem::ExtractContentFile(Entry* entry,
|
|||||||
|
|
||||||
XELOGI("Extracting file: {}", entry->path());
|
XELOGI("Extracting file: {}", entry->path());
|
||||||
|
|
||||||
auto dest_name = base_path / xe::to_path(entry->path());
|
auto dest_name =
|
||||||
|
base_path / xe::to_path(utf8::fix_path_separators(entry->path()));
|
||||||
|
|
||||||
if (extract_to_root) {
|
if (extract_to_root) {
|
||||||
dest_name = base_path / xe::to_path(entry->name());
|
dest_name = base_path / xe::to_path(entry->name());
|
||||||
|
|||||||
Reference in New Issue
Block a user