Default fsync to on only if supported

Just have the default depend on weather fsync is supported at all.
This commit is contained in:
Daniel Johnson 2022-04-10 07:37:33 -04:00
parent c8fef40b4f
commit 2a3803deda

View file

@ -309,7 +309,7 @@ class wine(Runner):
"option": "fsync",
"label": _("Enable Fsync"),
"type": "extended_bool",
"default": True,
"default": is_fsync_supported(),
"callback": fsync_support_callback,
"callback_on": True,
"active": True,