mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-09-20 03:57:18 -05:00
update
This commit is contained in:
parent
9e622879d0
commit
b97b4f7894
1 changed files with 7 additions and 1 deletions
|
@ -51,7 +51,7 @@ from typing import (
|
||||||
Generator,
|
Generator,
|
||||||
)
|
)
|
||||||
|
|
||||||
__version__ = "22.12a3-44-g3b9c2e6-dev"
|
__version__ = "22.12a3-45-g9e62287-dev"
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
@ -929,6 +929,12 @@ class Viv:
|
||||||
)
|
)
|
||||||
|
|
||||||
elif args.cmd == "update":
|
elif args.cmd == "update":
|
||||||
|
if "/procs/" in Path(__file__).resolve():
|
||||||
|
error(
|
||||||
|
a.style("viv manage update", "bold")
|
||||||
|
+ "should be used with a locally installed viv",
|
||||||
|
1,
|
||||||
|
)
|
||||||
try:
|
try:
|
||||||
r = urlopen(
|
r = urlopen(
|
||||||
"https://raw.githubusercontent.com/daylinmorgan/viv/"
|
"https://raw.githubusercontent.com/daylinmorgan/viv/"
|
||||||
|
|
Loading…
Reference in a new issue