Cockatrice/oracle
pliu037 6c53c1afc3 Cleaned up some code and reworked the logic regarding which cards.xml Oracle and Cockatrice consider default.
Original: If default is checked, Oracle will always save to the AppData path.
1st commit: If a path to cards.xml is set, Oracle will update that cards.xml. Bug: Running Oracle before setting a cards.xml (i.e.: on a fresh install) will lead to Oracle asking for a location at which to save cards.xml, even if default was checked.
2nd commit: Fix of 1st commit +: If Oracle is run before a path to cards.xml is set, if default is checked, cards.xml will be saved on the AppData path. Furthermore, this path will be set as the cards.xml path for both Oracle and Cockatrice.
This commit: Fix of 2nd commit +: If Oracle is run before a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path and this path will be set as the cards.xml path for both Oracle and Cockatrice. If a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path but this path will NOT be set as the cards.xml path for either Oracle or Cockatrice. This allows people who already have a cards.xml (which may be customized), to still obtain clean copies of cards.xml through Oracle without overwriting their own copy.
2014-07-31 07:25:59 -04:00
..
src Cleaned up some code and reworked the logic regarding which cards.xml Oracle and Cockatrice consider default. 2014-07-31 07:25:59 -04:00
CMakeLists.txt Port "make package" fix to oracle and servatrice 2014-06-22 23:41:15 +02:00
oracle.desktop added unix desktop icons and menu items to install target 2012-01-29 18:30:02 +01:00