How to clear cache or access files in "<user>\AppData\Local\<node-webkit app name>\Cache"
21 views
Skip to first unread message
Erik Zimmerman
unread,
May 27, 2013, 11:26:27 AM5/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Is it possible to access the files in "<user>\AppData\Local\<node-webkit app name>\Cache" using fs or to clear the local cache of node-webkit programmatically?
Erik Zimmerman
unread,
May 27, 2013, 11:51:54 AM5/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
I found the solution:
process.env.LOCALAPPDATA or for 'roaming' data: process.env.APPDATA
Erik Zimmerman
unread,
May 27, 2013, 11:53:25 AM5/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
However, I am having trouble deleting the files while the program is running because it locks the files.
sanu...@gmail.com
unread,
Jun 23, 2013, 2:54:38 AM6/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message