This commit is contained in:
2026-02-16 17:28:48 +08:00
parent d13a8a44d1
commit 6e4c5eee38
24 changed files with 656 additions and 209 deletions

22
scripts/vscode-fix-cache.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
rename() {
local dir="$1"
echo "Processing: $dir"
[ -d "$dir.bak" ] && rm -rf "$dir.bak"
mv "$dir" "$dir.bak"
}
dirs=(
"$HOME/.config/Code/Cache"
"$HOME/.config/Code/CachedData"
"$HOME/.config/Code/Code Cache"
"$HOME/.config/Code/GPUCache"
"$HOME/.config/Code/Service Worker"
)
for dir in "${dirs[@]}"; do
rename "$dir"
done
echo "Success"