Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Aug 24, 2024
1 parent 68d4eb2 commit ade7e59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/model.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ if not _ok then
return
end

local _downlaodUrl = nil
local _downloadUrl = nil
local _sources = require"__tezpeak/constants".sources

if _platform.OS == "unix" then
_downlaodUrl = _sources["linux-x86_x64"]
_downloadUrl = _sources["linux-x86_x64"]
if _platform.SYSTEM_TYPE:match("[Aa]arch64") then
_downlaodUrl = _sources["linux-arm64"]
_downloadUrl = _sources["linux-arm64"]
end
end

if _downlaodUrl == nil then
if _downloadUrl == nil then
log_error("Platform not supported!")
return
end

am.app.set_model(
{
DOWNLOAD_URLS = {
tezpeak = am.app.get_configuration("SOURCE", _downlaodUrl),
tezpeak = am.app.get_configuration("SOURCE", _downloadUrl),
}
},
{ merge = true, overwrite = true }
Expand Down
2 changes: 1 addition & 1 deletion src/specs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "tzc.tezpeak",
"version": "0.3.1+0.4.2-beta",
"version": "0.3.0+0.5.0-beta",
"dependencies": [
{
"id": "xtz.base"
Expand Down

0 comments on commit ade7e59

Please sign in to comment.