++++ this is just a quick demo ++++
++++ still work in progress ++++
in order for this to work, please remove your current BGS version from its current location somewhere in ../pandora/[apps,menu,desktop] and put this .pnd in there.
google drive authentication is done via your webbrowser, so far firefox, qupzilla and babypanda do work. so you will need at least one of those.
possible bug right there: firefox reflects its version in the .desktop file. i think i made bgs look for version 28, cuz thats the version i have. any other may not be visible to bgs yet.
so, here it goes. please test and tell me what you think.
this is what i did:
- gdrive support
- backup log in appdata
- slimmed the gui, reduced the amount of popups
- got rid of ftpupload() - theres way better soft to do that
heres what needs to be done:
- backups on a per game/emulator basis (almost there)
- restore function (from local or cloud)
- implement other cloud services
- rewrite parts to be more elegant
I was also thinking about 7zip compression to significantly reduce the archive size and network traffic.
I almost startet to get a proper gui on the way, but zenity works just so well in this case.
per game/emu backup: I'd just have to merge your programsfound and directoriestobackup lists during the folder crawling process (probably into a nice and tidy dictionary) and thats it.
Restore function: the folders and files are packed with their full posix pathnames. Restore would be as easy as untar archivefile. I didnt get to it because i'd like to get better compression on the way first.
bgs_0.2.5.0.pnd