tui: fix path comparison in theme installer to handle different path formats

This commit is contained in:
Dax Raad 2026-04-16 11:18:44 -04:00
parent 6ce481e95b
commit 8ab17f5ce0

View File

@ -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) => {