Mnemosyne-20 / Mnemosyne-2.0-1

Archive bot for WHATEVER
2 stars 1 forks source link

Linux compat #23

Closed Spootacular closed 8 years ago

Spootacular commented 8 years ago

A few bugfixes included for config file handling, and the archive count is unborked. Tested with mono 4.4.1 on arch linux, as well as on Windows.

chuggafan commented 8 years ago

I was looking at this, flatfile works aswell as the SQL?

chuggafan commented 8 years ago

LOL you commited some stuff... 4 hours from now? gg

Spootacular commented 8 years ago

Flat files should still work, the only things that really needed to be changed to work on linux was the slashes in the file paths. Ended up removing them entirely since they were kind of unnecessary. Other than that everything else is just bugfix.

I changed my system time to UTC when I installed linux, Windows is unaware of that so the clock is 5 hours ahead now. Ignore the Delorean in my garage.

chuggafan commented 8 years ago

Ahhh, Ok then, works for me

chuggafan commented 8 years ago

After pull I found a weird error with XML attributes in elements, fixed by changing it to not an element, it thought that an element started with a " for some reason, no clue why :(

Spootacular commented 8 years ago

Your config is probably a bit different than mine, you were using an attribute for the SQLite toggle and I changed it to be an element like all the others because of some exception I can't remember anymore

chuggafan commented 8 years ago

Yhea, I was using an attribute because of it taking up less space and attributes being able to be done by number inside of an element ¯_(ツ)_/¯ if it has a bug