简体   繁体   English

Javascript UWP应用程序在哪里存储IndexedDb?

[英]Where do Javascript UWP apps store IndexedDb?

I make Windows Store apps with HTML + Javascript, WinJS type apps. 我使用HTML + Javascript和WinJS类型的应用程序制作Windows Store应用程序。

I normally use localStorage to store most information, and I know how to navigate to where that localStorage is in the file system: 我通常使用localStorage来存储大多数信息,并且我知道如何导航到该localStorage在文件系统中的位置:

C:\\Users\\user\\AppData\\Local\\Packages\\-package-string- is the base folder for all the info, and I drill down to \\AC\\Microsoft\\Internet Explorer\\DOMStore and the localStorage xml file is in there in one of the C:\\Users\\user\\AppData\\Local\\Packages\\-package-string-是所有信息的基本文件夹,我向下钻取到\\AC\\Microsoft\\Internet Explorer\\DOMStore ,localStorage xml文件位于其中其中一个

Knowing this makes it easy for me to take localStorage from one persons app, download it and put it into my debugging app and investigate any problems they might have related to their localStorage. 知道这一点后,我可以轻松地从一个人的应用程序中获取localStorage,将其下载并放入我的调试应用程序中,并调查他们可能与localStorage相关的任何问题。

I need the same info for IndexedDb. 我需要IndexedDb的相同信息。 I use Dexie.js which uses IndexedDb and I want to be able to move the file from one persons computer onto my own to debug it if necessary. 我使用的是使用IndexedDb的Dexie.js,我希望能够将文件从一台个人计算机移动到我自己的计算机上,以便在必要时进行调试。

在Windows 10(v1803)上,IndexedDB位于:

C:\Users\user\AppData\Local\Packages\--package-string--\AppData\Indexed DB

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM