How to clear the cache data in Electron(atom shell)?

后端 未结 8 869
有刺的猬
有刺的猬 2020-12-13 18:48

I want to clear cache data in Electron(atom-shell). I don\'t find any api like gui.App.clearCache()(node-webkit api to clear cache data) in Electron. If you find an

8条回答
  •  既然无缘
    2020-12-13 19:10

    The Electron stores it's cache in these folders:

    Windows:
    C:\Users\\AppData\Roaming\\Cache

    Linux:
    /home//.config//Cache

    OS X:
    /Users//Library/Application Support//Cache

    So deleting these folders can also help you. Of course this is one time solution ;-)

提交回复
热议问题