mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 10:47:15 +02:00
chore: add placeholder notes
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
This commit is contained in:
parent
8503d7e698
commit
401c8625ad
@ -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]
|
||||
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user