removed legacy code
Massimo Melina committed
Dec 20, 2023 at 16:40 UTC
50a2b8b8ae116fcca5543aa1ca0be693cc96a651
1 file changed
-4
src/api.vfs.ts
-4
@@ -263,10 +263,6 @@ function simplifyName(node: VfsNode) {
263
264
const WINDOWS_REG_KEY = 'HKCU\\Software\\Classes\\*\\shell\\AddToHFS3'
265
266
-if (IS_WINDOWS) // legacy 0.49.0-beta7 2023-10-27. Remove in 0.50
267
- for (const k of ['*', 'Directory'])
268
- reg('delete', `HKCR\\${k}\\shell\\AddToHFS3`, '/f').catch(() => {})
269
-
266
function reg(...pars: string[]) {
267
return promisify(execFile)('reg', pars)
268
}