Skip to content

Commit

Permalink
Merge pull request #7 from Modorganizer2/Develop
Browse files Browse the repository at this point in the history
Release USVFS 0.4.1.0
  • Loading branch information
LePresidente authored Aug 2, 2018
2 parents 378aa38 + 1956fd1 commit 32c9f4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# usvfs

[![License](http://img.shields.io/:license-gpl-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.en.html)
[![Build status](https://ci.appveyor.com/api/projects/status/5xwl7y8yuu7ctkhu?svg=true)](https://ci.appveyor.com/project/TanninOne/usvfs)
[![Build status](https://ci.appveyor.com/api/projects/status/rfc2xe8mo9775smo?svg=true)](https://ci.appveyor.com/project/Modorganizer2/usvfs)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/8941/badge.svg)](https://scan.coverity.com/projects/8941)

USVFS (short for User Space Virtual File System) aims to allow windows applications to create file or directory links that
Expand Down
2 changes: 1 addition & 1 deletion include/usvfs_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define USVFS_VERSION_MAJOR 0
#define USVFS_VERSION_MINOR 4
#define USVFS_VERSION_BUILD 0
#define USVFS_VERSION_BUILD 1
#define USVFS_VERSION_REVISION 0

#define USVFS_BUILD_STRING ""
Expand Down
5 changes: 4 additions & 1 deletion src/usvfs_dll/hooks/kernel32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,14 @@ class RerouteW
else if (inPath[0] == L'\0' || inPath[1] == L':') {
return inPath;
}
else if (inPath[0] == L'\\' || inPath[0] == L'/') {
return fs::path(winapi::wide::getFullPathName(inPath).first);
}
WCHAR currentDirectory[MAX_PATH];
::GetCurrentDirectoryW(MAX_PATH, currentDirectory);
fs::path finalPath = fs::path(currentDirectory) / inPath;
return finalPath;
//return winapi::wide::getFullPathName(inPath).first;
//winapi::wide::getFullPathName(inPath).first;
}

static fs::path canonizePath(const fs::path& inPath)
Expand Down

0 comments on commit 32c9f4d

Please sign in to comment.