Browse Source

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

This reverts commit 8ab17f5ce0bb3e74a49aa661fc1beef8314b8e04.
Dax Raad 6 tháng trước cách đây
mục cha
commit
2b1696f1d1

+ 1 - 2
packages/opencode/src/cli/cmd/tui/plugin/runtime.ts

@@ -194,8 +194,7 @@ function createThemeInstaller(
           }
           }
           return
           return
         }
         }
-        if (path.normalize(prev?.dest ?? "") === path.normalize(dest) && prev.mtime === mtime && prev.size === size)
-          return
+        if (prev?.dest === dest && prev.mtime === mtime && prev.size === size) return
       }
       }
 
 
       const text = await Filesystem.readText(src).catch((error) => {
       const text = await Filesystem.readText(src).catch((error) => {