Update core/updater.py
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ from .addon_preferences import get_preference, get_current_version, save_prefere
|
|||||||
from ..ui.main_panel import AvatarToolKit_PT_AvatarToolkitPanel, CATEGORY_NAME
|
from ..ui.main_panel import AvatarToolKit_PT_AvatarToolkitPanel, CATEGORY_NAME
|
||||||
from typing import Dict, List, Tuple, Optional, Set, Any
|
from typing import Dict, List, Tuple, Optional, Set, Any
|
||||||
|
|
||||||
GITHUB_REPO = "teamneoneko/Avatar-Toolkit"
|
GITHUB_REPO = "snipeslow/Avatar-Toolkit"
|
||||||
|
|
||||||
# Define which version series this installation can update to
|
# Define which version series this installation can update to
|
||||||
# For example: ["0.1"] means only look for 0.1.x updates
|
# For example: ["0.1"] means only look for 0.1.x updates
|
||||||
@@ -158,7 +158,7 @@ def get_github_releases() -> bool:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
with request.urlopen(f'https://api.github.com/repos/{GITHUB_REPO}/releases') as url:
|
with request.urlopen(f'https://git.snipeslow.dev/api/v1/repos/{GITHUB_REPO}/releases') as url:
|
||||||
data = json.loads(url.read().decode())
|
data = json.loads(url.read().decode())
|
||||||
except error.URLError:
|
except error.URLError:
|
||||||
print('URL ERROR')
|
print('URL ERROR')
|
||||||
|
|||||||
Reference in New Issue
Block a user