node-webkit中IndexedDB的存储地址

引用node-webkit谷歌用户的的帖子:

IndexedDB location

node-webkit 会将IndexedDB文件存储在:~\AppData\Local\$(app_name)\IndexedDB    (on windows)

例如,node-webkit APP的名字是 “nw-demo”(App的名字在package.json的name值中)

那么IndexeDB的文件将会存储在~\AppData\Local\nw-demo\IndexedDB


引用摘抄:

I know this isn't strictly a node-webkit issue, but there are smart people here...

When I open an Indexedb from javascript in node-webkit, WHERE is the actual file stored?

I notice that the copies of my indexedb viewable from a chrome browaser and node webkit are different (which is fine) but I am trying to anticipate issues in node-webkit (for instance, if my app is reinstalled).

Thanks

Ed


Answering my own question for others who might be interested.

For Google Chrome, the IndexedDB files are stoed in:   ~\AppData\Local\Google\Chrome\User Data\Default\IndexedDB  (on windows)

For my app, written in node_webkit and named Evidentia: ~\AppData\Local\Evidentia\IndexedDB    (on windows)


你可能感兴趣的:(node-webkit)