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, Generator,
) )
__version__ = "22.12a3-43-g4b61cb9-dev" __version__ = "22.12a3-44-g5e89d63-dev"
@dataclass @dataclass
@ -1021,17 +1021,15 @@ class Viv:
) )
sys.exit(1) sys.exit(1)
echo("Preparing to install viv.py")
sha256 = fetch_source(args.reference) sha256 = fetch_source(args.reference)
sys.path.append(str(c.srccache)) sys.path.append(str(c.srccache))
downloaded_version = __import__(sha256).__version__ downloaded_version = __import__(sha256).__version__
echo(f"Downloaded version: {downloaded_version}") echo(f"Downloaded version: {downloaded_version}")
q = ( q = INSTALL_TEMPLATE.format(
"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" 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): if confirm(q):