mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-09-20 03:57:18 -05:00
many more things
This commit is contained in:
parent
5e89d63b66
commit
64d05e37de
1 changed files with 6 additions and 8 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue