Add aarch64 support (#346)

This commit is contained in:
Greelan 2023-04-30 11:32:19 +10:00 committed by GitHub
parent 9ebd0de651
commit 910ccb2727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 3 deletions

View File

@ -1,7 +1,8 @@
Meta.DisplayName=Foundry Virtual Tabletop
Meta.Description=Foundry Virtual Tabletop Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.AarchSupport=Native
Meta.Arch=All
Meta.Author=Greelan
Meta.URL=https://foundryvtt.com
Meta.DisplayImageSource=url:https://foundryvtt.com/static/assets/icons/fvtt.png
@ -9,7 +10,7 @@ Meta.EndpointURIFormat=
Meta.ConfigManifest=foundry-vttconfig.json
Meta.MetaConfigManifest=foundry-vttmetaconfig.json
Meta.ConfigRoot=foundry-vtt.kvp
Meta.MinAMPVersion=2.4.3.0
Meta.MinAMPVersion=2.4.3.2
Meta.SpecificDockerImage=
Meta.DockerRequired=False
Meta.ContainerPolicy=Supported

View File

@ -27,6 +27,7 @@
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://nodejs.org/download/release/{{NodeVersion}}/node-{{NodeVersion}}-linux-x64.tar.gz",
"UpdateSourceArch":"x86_64",
"UpdateSourceTarget":"{{$FullBaseDir}}"
},
{
@ -34,7 +35,24 @@
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd foundry-vtt && rm -Rf node && tar xf node-{{NodeVersion}}-linux-x64.tar.gz && mv node-{{NodeVersion}}-linux-x64 node && rm node-{{NodeVersion}}-linux-x64.tar.gz'"
"UpdateSourceArgs":"-c 'cd foundry-vtt && rm -Rf node && tar xf node-{{NodeVersion}}-linux-x64.tar.gz && mv node-{{NodeVersion}}-linux-x64 node && rm node-{{NodeVersion}}-linux-x64.tar.gz'",
"UpdateSourceArch":"x86_64"
},
{
"UpdateStageName":"Node.js Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://nodejs.org/download/release/{{NodeVersion}}/node-{{NodeVersion}}-linux-arm64.tar.gz",
"UpdateSourceArch":"aarch64",
"UpdateSourceTarget":"{{$FullBaseDir}}"
},
{
"UpdateStageName":"Node.js Extract",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd foundry-vtt && rm -Rf node && tar xf node-{{NodeVersion}}-linux-arm64.tar.gz && mv node-{{NodeVersion}}-linux-arm64 node && rm node-{{NodeVersion}}-linux-arm64.tar.gz'",
"UpdateSourceArch":"aarch64"
},
{
"UpdateStageName":"Node.js Download",