chore: add placeholder notes
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist 2026-06-11 08:07:58 +09:00
parent 8503d7e698
commit 401c8625ad
2 changed files with 12 additions and 4 deletions

View File

@ -122,10 +122,7 @@ def get_missing_mods(local: list, remote: list) -> list:
def _hash(uid: str, use_custom: bool = False) -> str:
md5 = hashlib.md5()
md5.update(uid.encode("ascii"))
if use_custom:
prefix = "@C"
else:
prefix = "@"
prefix = "@C" if use_custom else "@"
return prefix + md5.hexdigest()[:8]

View File

@ -111,6 +111,13 @@ class ModFrame(HeadingFrame):
sel = self.tree.get_selection()
sel.connect("changed", self._on_selection_changed)
# TODO: warnings area
# valid warnings (one at a time):
# - name collision within custom mods
# - name collision b/w custom and local (permissible)
# - no mods
# - not a valid mission
def get_mods(self) -> list[str]:
model = self.tree.get_model()
if model is None:
@ -295,6 +302,10 @@ class OfflineLoader(Gtk.Box):
self.add(self.button_box)
def _on_mission_clicked(self, button: Gtk.Button) -> None:
# process path, cf. set_custom_folder()
# file = path / "init.c"
# if not file.exists():
# pop warning
pass
def parse_mods(self) -> None: