Skip to content

Instantly share code, notes, and snippets.

@m-hayabusa
Last active March 8, 2023 13:05
Show Gist options
  • Save m-hayabusa/243d861cac1c32b2e1a2e6715ace9c5e to your computer and use it in GitHub Desktop.
Save m-hayabusa/243d861cac1c32b2e1a2e6715ace9c5e to your computer and use it in GitHub Desktop.
VCCからnekomimi.studio関連のリポジトリ情報とかを削除するやつ

CC0
To the extent possible under law, m-hayabusa has waived all copyright and related or neighboring rights to this work. This work is published from: 日本.

# C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command ".\remove-repo.ps1" なショートカット作っとくと便利
$settings = Get-Content $env:LocalAppData\VRChatCreatorCompanion\settings.json | ConvertFrom-Json
($settings.userRepos | Where-Object {$_.url -like "*nekomimi.studio*"}).localPath | Remove-Item
$settings.userRepos = $settings.userRepos -notlike "*nekomimi.studio*"
$settings | ConvertTo-Json | Out-File $env:LocalAppData\VRChatCreatorCompanion\settings.json
Remove-Item -Confirm -Recurse $env:LocalAppData\VRChatCreatorCompanion\Repos\studio.nekomimi.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment