Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Gridcoin to PortableApps.com! #1981

Open
Peppernrino opened this issue Dec 6, 2020 · 11 comments
Open

Addition of Gridcoin to PortableApps.com! #1981

Peppernrino opened this issue Dec 6, 2020 · 11 comments

Comments

@Peppernrino
Copy link
Contributor

Peppernrino commented Dec 6, 2020

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. :)

@jamescowens
Copy link
Member

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!

@Peppernrino
Copy link
Contributor Author

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.

@Peppernrino
Copy link
Contributor Author

Peppernrino commented Dec 6, 2020

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

@jamescowens
Copy link
Member

@Peppernrino seems like a nice portability compatibility layer. I will tag @cyrossignol to take a look too...

@nathanielcwm
Copy link
Contributor

nathanielcwm commented Dec 14, 2020

@Peppernrino why not make it set the data directory to the GridcoinConfig folder in the Data folder?

@Peppernrino
Copy link
Contributor Author

Peppernrino commented Dec 28, 2020

@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. :)

@Peppernrino
Copy link
Contributor Author

Peppernrino commented Dec 28, 2020

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.

@nathanielcwm
Copy link
Contributor

nathanielcwm commented Dec 28, 2020

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.

@Peppernrino
Copy link
Contributor Author

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.

@jamescowens
Copy link
Member

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= forces the wallet to look in that directory for the config file, wallet, and blockchain files.

@Peppernrino
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants