tui: fix path comparison in theme installer to handle different path formats
This commit is contained in:
parent
6ce481e95b
commit
8ab17f5ce0
@ -194,7 +194,8 @@ function createThemeInstaller(
|
||||
}
|
||||
return
|
||||
}
|
||||
if (prev?.dest === dest && prev.mtime === mtime && prev.size === size) return
|
||||
if (path.normalize(prev?.dest ?? "") === path.normalize(dest) && prev.mtime === mtime && prev.size === size)
|
||||
return
|
||||
}
|
||||
|
||||
const text = await Filesystem.readText(src).catch((error) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user