Skip to content

Commit 6dfea69

Browse files
author
Ubuntu
committed
fix: don't drop sentinel if ini write fails
If File.WriteAllText fails (e.g., storage not ready on first launch), the sentinel was still being dropped, meaning the retry opportunity was lost and the user could be stuck with Vulkan default permanently. Now we return early on write failure, preserving the sentinel for retry on the next launch.
1 parent 1734d2c commit 6dfea69

5,002 files changed

Lines changed: 5003 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"nodes": [{"id": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "label": "DrawableTaikoStrongableHitObject.cs", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L1"}, {"id": "drawables_drawabletaikostrongablehitobject_osu_game_rulesets_taiko_objects_drawables", "label": "osu.Game.Rulesets.Taiko.Objects.Drawables", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L12"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "label": "DrawableTaikoStrongableHitObject", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L14"}, {"id": "drawabletaikohitobject", "label": "DrawableTaikoHitObject", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "bindable", "label": "Bindable", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L18"}, {"id": "container", "label": "Container", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L20"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onapply", "label": ".OnApply()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L28"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onfree", "label": ".OnFree()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L37"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_addnestedhitobject", "label": ".AddNestedHitObject()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L46"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_clearnestedhitobjects", "label": ".ClearNestedHitObjects()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L58"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createnestedhitobject", "label": ".CreateNestedHitObject()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L64"}, {"id": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createstrongnestedhit", "label": ".CreateStrongNestedHit()", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L81"}], "edges": [{"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "annotations", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L6", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "bindables", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L7", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "containers", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L8", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "objects", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L9", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "drawables", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L10", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "drawables_drawabletaikostrongablehitobject_osu_game_rulesets_taiko_objects_drawables", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L12", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_taiko_objects_drawables_drawabletaikostrongablehitobject_cs", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L14", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawabletaikohitobject", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L14", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "bindable", "relation": "references", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L18", "weight": 1.0, "context": "field"}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "container", "relation": "references", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L20", "weight": 1.0, "context": "field"}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onapply", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L28", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onfree", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L37", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_addnestedhitobject", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L46", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_clearnestedhitobjects", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L58", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createnestedhitobject", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L64", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createstrongnestedhit", "relation": "method", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L81", "weight": 1.0}, {"source": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createnestedhitobject", "target": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_createstrongnestedhit", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L69", "weight": 1.0}], "raw_calls": [{"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onapply", "callee": "BindTo", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L30"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onapply", "callee": "BindValueChanged", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L32"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onapply", "callee": "AddOnce", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L32"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onfree", "callee": "UnbindFrom", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L41"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_onfree", "callee": "UnbindEvents", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L43"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_addnestedhitobject", "callee": "Add", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L53"}, {"caller_nid": "drawables_drawabletaikostrongablehitobject_drawabletaikostrongablehitobject_clearnestedhitobjects", "callee": "Clear", "is_member_call": true, "source_file": "/tmp/osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableTaikoStrongableHitObject.cs", "source_location": "L61"}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"nodes": [{"id": "tmp_osu_osu_game_rulesets_osu_mods_osumodnightcore_cs", "label": "OsuModNightcore.cs", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L1"}, {"id": "mods_osumodnightcore_osu_game_rulesets_osu_mods", "label": "osu.Game.Rulesets.Osu.Mods", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L7"}, {"id": "mods_osumodnightcore_osumodnightcore", "label": "OsuModNightcore", "file_type": "code", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L9"}, {"id": "modnightcore", "label": "ModNightcore", "file_type": "code", "source_file": "", "source_location": ""}], "edges": [{"source": "tmp_osu_osu_game_rulesets_osu_mods_osumodnightcore_cs", "target": "mods", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L4", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_osu_mods_osumodnightcore_cs", "target": "objects", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L5", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_osu_mods_osumodnightcore_cs", "target": "mods_osumodnightcore_osu_game_rulesets_osu_mods", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L7", "weight": 1.0}, {"source": "tmp_osu_osu_game_rulesets_osu_mods_osumodnightcore_cs", "target": "mods_osumodnightcore_osumodnightcore", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L9", "weight": 1.0}, {"source": "mods_osumodnightcore_osumodnightcore", "target": "modnightcore", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/tmp/osu/osu.Game.Rulesets.Osu/Mods/OsuModNightcore.cs", "source_location": "L9", "weight": 1.0}], "raw_calls": []}

0 commit comments

Comments
 (0)