gree / unity-webview

zlib License
2.24k stars 685 forks source link

How to uninstall unity-webview package #962

Open kalaik opened 1 year ago

kalaik commented 1 year ago

Hi all,

I have installed the unity-webview from the dist (unity-webview.unitypackage) via Assets > Import Package > Custom Package. It is not showing up under Unity Package Manager. Could someone tell me how to uninstall unity-webview from the Unity project?

Thanks

KojiNakamaru commented 1 year ago

unity-webview.zip contains same files in unity-webview.unitypackage and and corresponding meta files, so you can list files in unity-webview.zip and pass it to rm. For example, if you imported unity-webview.unitypackage into the sample project, you can remove imported files as below:

cd unity-webview
zipinfo -1 dist/unity-webview.zip > list.txt
cd sample
xargs rm < ../list.txt