I want to choose a file and once chosen, I want to read it.
I want to download a .txt file that contains a variable
Are you using NWjs for PC development, or are you using localstorage on mobile platform?
for the time being NWjs for PC But at the end of development the two
Develop games in your browser. Powerful, performant & highly capable.
There are different processes for NWjs and localstorage, so the way to solve this issue will be different for each tech.
I can help with the NWjs component if you like, but as for localstorage, I haven't used it much at all so I'm not going to be much help I'm afraid.