many more things

This commit is contained in:
Daylin Morgan 2023-05-26 00:08:27 -05:00
parent 5e89d63b66
commit 64d05e37de
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -51,7 +51,7 @@ from typing import (
Generator,
)
__version__ = "22.12a3-43-g4b61cb9-dev"
__version__ = "22.12a3-44-g5e89d63-dev"
@dataclass
@ -1021,17 +1021,15 @@ class Viv:
)
sys.exit(1)
echo("Preparing to install viv.py")
sha256 = fetch_source(args.reference)
sys.path.append(str(c.srccache))
downloaded_version = __import__(sha256).__version__
echo(f"Downloaded version: {downloaded_version}")
q = (
"Would you like to install viv with the following settings\n"
+ INSTALL_TEMPLATE.format(
src_location="~/.local/share/viv/viv.py", cli_location="~/bin/viv"
)
q = INSTALL_TEMPLATE.format(
src_location="~/.local/share/viv/viv.py", cli_location="~/bin/viv"
) + (
"Would you like to perform the above "
"installation steps with the following settings?"
)
if confirm(q):