From bf6494f2a9cbb707517ad138bab2bd785409f7f6 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 4 Jan 2026 23:13:23 -0600 Subject: [PATCH] fix: tweak installer slightly, per upstream changes --- src/wuttapos/install.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wuttapos/install.py b/src/wuttapos/install.py index e140fd4..287e544 100644 --- a/src/wuttapos/install.py +++ b/src/wuttapos/install.py @@ -104,6 +104,9 @@ class InstallHandler(base.InstallHandler): # remember the answer self.install_type = install_type + # and skip the continuum prompt + self.wants_continuum = install_type == "server" + # now we can check the app dir; do this before further questions self.check_appdir() @@ -138,14 +141,14 @@ class InstallHandler(base.InstallHandler): [sys.executable, "-m", "pip", "install", "WuttaPOS[terminal]"] ) - def get_dbinfo(self): + def get_db_url(self): if self.alongside: - return {"dburl": self.config.appdb_engine.url} + return self.config.appdb_engine.url - return super().get_dbinfo() + return super().get_db_url() - def make_template_context(self, dbinfo, **kwargs): - context = super().make_template_context(dbinfo, **kwargs) + def make_template_context(self, **kwargs): + context = super().make_template_context(**kwargs) context["install_type"] = self.install_type context["store_id"] = self.store_id