From 910ccb272762b79919e3a1833741a02327368ebc Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sun, 30 Apr 2023 11:32:19 +1000 Subject: [PATCH] Add aarch64 support (#346) --- foundry-vtt.kvp | 5 +++-- foundry-vttupdates.json | 20 +++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/foundry-vtt.kvp b/foundry-vtt.kvp index b117722..c900af3 100644 --- a/foundry-vtt.kvp +++ b/foundry-vtt.kvp @@ -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 diff --git a/foundry-vttupdates.json b/foundry-vttupdates.json index e74fe61..f131c3f 100644 --- a/foundry-vttupdates.json +++ b/foundry-vttupdates.json @@ -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",