bmbleau / BlueMoney

Home Money Management Application
0 stars 0 forks source link

Updating wipes out databases... #8

Open bmbleau opened 10 years ago

bmbleau commented 10 years ago

As it currently is set, when the application is updated to the latest version it wipes out the old database. We need to find a way to have the application create and use the database files based on the platform.

Mac OS X: Use the library directory Windows: ?? Linux: Hidden home dir

bmbleau commented 10 years ago

This can be done using pythons platform module...

example:

currentPlatform = platform.system()

on Mac OS X: }}} print(currentPlatform) 'Darwin'