mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Handle corrupted preferences file
Partial fix dcs-liberation/dcs_liberation#2747 Includes pydcs bump since it contains the other half of the fix.
This commit is contained in:
parent
ae379bd8f5
commit
24d995828f
@ -36,7 +36,7 @@ def init():
|
||||
"ignore_empty_install_directory", False
|
||||
)
|
||||
is_first_start = False
|
||||
except KeyError:
|
||||
except (KeyError, json.JSONDecodeError):
|
||||
__dcs_saved_game_directory = ""
|
||||
__dcs_installation_directory = ""
|
||||
__last_save_file = ""
|
||||
|
||||
@ -30,7 +30,7 @@ platformdirs==2.5.4
|
||||
pluggy==1.0.0
|
||||
pre-commit==2.20.0
|
||||
pydantic==1.10.2
|
||||
-e git+https://github.com/dcs-retribution/pydcs@b563f9a4257dba006bc1464c376aa4dc7fcd6ef0#egg=pydcs
|
||||
-e git+https://github.com/dcs-retribution/pydcs@60fa0d1cccf5fbd859de41da535266ac6a30cb12#egg=pydcs
|
||||
pyinstaller==5.6.2
|
||||
pyinstaller-hooks-contrib==2022.13
|
||||
pyparsing==3.0.9
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user