This commit is contained in:
qiaofeng1227 2023-07-26 16:56:12 +08:00
parent d3bb3a8212
commit 36da1cf19a
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
## 0.8.4 release on 2023-07-26
add appstore search api
## 0.8.2 release on 2023-07-24
1. install from artifacts

View file

@ -78,7 +78,7 @@ def AppAutoUpdate(auto_update):
def AppStoreCore():
version_cmd = "curl" + const.ARTIFACT_URL + "/plugin/appstore/appstore.json"
version_cmd = "curl " + const.ARTIFACT_URL + "/plugin/appstore/appstore.json"
latest = shell_execute.execute_command_output_all(version_cmd)['result']
most_version = json.loads(latest)['Requires at most']
least_version = json.loads(latest)['Requires at least']
@ -146,14 +146,14 @@ def get_appstore_update_list():
except:
local_version = "0.0.0"
version_cmd = "curl" + const.ARTIFACT_URL + "/plugin/appstore/appstore.json"
version_cmd = "curl " + const.ARTIFACT_URL + "/plugin/appstore/appstore.json"
latest = shell_execute.execute_command_output_all(version_cmd)
version = json.loads(latest)['Version']
ret = {}
ret['local_version'] = local_version
ret['target_version'] = version
content = []
cmd = "curl" + const.ARTIFACT_URL + "/plugin/appstore/CHANGELOG.md"
cmd = "curl " + const.ARTIFACT_URL + "/plugin/appstore/CHANGELOG.md"
change_log_contents = shell_execute.execute_command_output_all(cmd)['result']
change_log = change_log_contents.split('## ')[1].split('\n')
date = change_log[0].split()[-1]

View file

@ -39,5 +39,5 @@
"18.04"
]
},
"VERSION": "0.8.5"
"VERSION": "0.8.4"
}