Changed to GitHub hosted latest software and db version manifest
This commit is contained in:
@@ -50,7 +50,7 @@ class UIspaceweather(QObject):
|
||||
network_manager = self._parent.network_manager
|
||||
network_manager.show_popup = True
|
||||
poseidon_data = network_manager.fetch_remote_json(
|
||||
Constants.POSEIDON_REPORT
|
||||
Constants.POSEIDON_REPORT_URL
|
||||
)
|
||||
if poseidon_data:
|
||||
self.load_poseidon_report.emit(poseidon_data)
|
||||
|
||||
@@ -23,8 +23,8 @@ class Constants():
|
||||
|
||||
SQL_NAME = 'data.sqlite'
|
||||
|
||||
DB_LATEST_VERSION = 'https://www.aresvalley.com/artemis/v4/latest.json'
|
||||
POSEIDON_REPORT = 'https://www.aresvalley.com/poseidon_engine/data.json'
|
||||
LATEST_VERSION_URL = 'https://raw.githubusercontent.com/AresValley/Artemis/master/config/release-info.json'
|
||||
POSEIDON_REPORT_URL = 'https://www.aresvalley.com/poseidon_engine/data.json'
|
||||
|
||||
DEFAULT_ENCODING = 'utf-8'
|
||||
SYSTEM_LANGUAGE = 'en_US' # locale.getdefaultlocale()[0]
|
||||
|
||||
@@ -37,7 +37,7 @@ class NetworkManager:
|
||||
popup (bool, optional): Suppress the "already up-to-date" message on startup.
|
||||
Defaults to False.
|
||||
"""
|
||||
latest_json = self.fetch_remote_json(Constants.DB_LATEST_VERSION)
|
||||
latest_json = self.fetch_remote_json(Constants.LATEST_VERSION_URL)
|
||||
if latest_json:
|
||||
local_db = self.load_local_db()
|
||||
remote_db = latest_json['sigID_DB']
|
||||
|
||||
Reference in New Issue
Block a user