def __set_path_wine(self):
home = str(Path.home())
- if self.__path.startswith('/c/users/') and exists(home + '/.wine/'):
- self.__path = home + '/.wine/drive_' + self.__path[1:]
+ p = self.__path[1] + ':' + self.__path[2:].replace('/', '\\')
+ info(f"__set_path_wine: {self.__path} {home} {p}")
+ #if self.__path.startswith('/c/users/') and exists(home + '/.wine/'):
+ # self.__path = home + '/.wine/drive_' + self.__path[1:]
+ if self.__path.startswith('/c/users/'):
+ self.__path = p
def __set_path_references(self):
if self.__creating_references: