Open Peppernrino opened 3 years ago
So this creates effectively a portable install and data bubble all on the portable media? I am not that familiar with this one, but it looks interesting!
basically. yeah. it moves the %APPDATA%/GridcoinResearch (C://Users/username/AppData/Roaming/GridcoinResearch) directory back and forth when the wallet is open or closed. and it should keep the wallet.dat file safe during an update. :D
it also cleans up the boost_interprocess folder leftover in ProgramData in between runs. it's a bit stealthy.
it would also be cool if i could be added back to the list of contributors... i've done work on the wallet, the website, contributed to the podcast, helped run the IRC and Discord channels... basically countless contributions. all taken away because of the actions of a small group of terrible people that have since left the community as predicted. one of the people even moved to have our wiki moved to another place so my years of contributions would be hidden. lol.
edit: it seems not all of the cronies have left the building. i've already received one down-vote for my hard work. lmao
@Peppernrino seems like a nice portability compatibility layer. I will tag @cyrossignol to take a look too...
@Peppernrino why not make it set the data directory to the GridcoinConfig folder in the Data folder?
@nathanielcwm GridcoinResearch creates the directory in %APPDATA%
then upon closing GridcoinResearch, moves the created data into the directory named GridcoinConfig. The GridcoinConfig directory actually doesn't exist in the Data directory until the wallet program is run. :)
I was, however, going to modify the package so that it keeps the blockchain intact in between wallet updates... People might like that! lol
Maybe even add a snapshot in the DefaultData directory. This is where you would put stuff to populate a first run of the program, for the record. DefaultData is like AppData/Local/, and the Data directory is like a floating AppData/Roaming/ directory that you can throw back and forth.
Oh I meant why not just make it use GridcoinConfig instead of %appdata% @Peppernrino
My bad I'm so used to pinging Jim that I accidentally pinged him instead lol.
honestly, that would be up to you guys... im not sure how i would get the Gridcoin wallet to look in a different place, but if someone wants to code an option for wallet location for me, that would be great...
it is, in essence, using the GridcoinConfig folder, but it needs to move it back to the %APPDATA%\GridcoinResearch
folder for the wallet to recognize its existence. otherwise, as i understand it, it would just begin creating a new wallet.
I am not following this discussion too well. The options to look in a different place already exist as command line parameters for the wallet. -datadir=
i haven't tried to feed it any cmdline yet. the wallet works the way it is. the question seems to be requesting 6, when i've already given a half dozen.
Hey everybody!
After 4 years or so of waiting... I have finally finished packaging the Gridcoin wallet for PortableApps.com!
https://portableapps.com/node/63173
Please check it out, and let me know if there is anything wonky or whatever, and it may be added to the list of official portable apps. :)