diff --git a/FATtools/version.py b/FATtools/version.py index aa8d766..f76b755 100644 --- a/FATtools/version.py +++ b/FATtools/version.py @@ -1 +1 @@ -__version__ = '1.0.37' \ No newline at end of file +__version__ = '1.0.38' \ No newline at end of file diff --git a/FATtools/vhdxutils.py b/FATtools/vhdxutils.py index abd96a7..5f4ccf2 100644 --- a/FATtools/vhdxutils.py +++ b/FATtools/vhdxutils.py @@ -1207,7 +1207,7 @@ def mk_diff(name, base, block=(2<<20), overwrite='no', sector=512): pl.entries['parent_linkage'] = '{%s}' % uuid.UUID(bytes_le=parent.header.sDataWriteGuid) # Only one of relative_path, volume_path or absolute_win32_path is required # Windows 10 completes the other paths on mount and adds parent_linkage2 key - pl.entries['relative_path'] = os.path.join('.', os.path.basename(parent.name)) + pl.entries['relative_path'] = utils.calc_rel_path(parent.name, name) pl.wKeyValueCount = len(pl.entries) buf = pl.pack()