tui: fix path comparison in theme installer to handle different path formats
This commit is contained in:
parent
6ce481e95b
commit
8ab17f5ce0
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue