chore: add build artifacts, map assets, and routing data

This commit is contained in:
Hamza-Ayed
2026-09-19 12:34:24 +03:00
parent aa2b9f131f
commit 43ad2e0ad4
327 changed files with 52421 additions and 1810 deletions
+26
View File
@@ -0,0 +1,26 @@
import re
path = "packages/tactical_app/lib/controllers/tactical_map_controller.dart"
with open(path, "r") as f:
content = f.read()
# Remove the incorrectly inserted lines
content = content.replace(" // Expand sheet back after picking\n if (activeSheet.value != null) {\n isSheetMinimized.value = false;\n }", "")
# Correctly insert at the end of confirmPicker
insert_target = """ case MapPickerTarget.routeDestination:
pickedRouteDestination.value = pos;
switchMode('routing');
break;
}
"""
replacement = insert_target + """
if (activeSheet.value != null) {
isSheetMinimized.value = false;
}
"""
content = content.replace(insert_target, replacement)
with open(path, "w") as f:
f.write(content)