From 1ec3102303171e85b1d9701638946d4071296190 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Thu, 29 Dec 2022 06:09:30 -0600 Subject: [PATCH] Update GatekeeperV2 (#264) * Update GatekeeperV2 This removes the requirement to use a special Docker image since the python3 tagged ampbase image includes pip now. This also adds the additional stuff into a script that runs with the update stages instead of being handled by the before mentioned image. These are very quick installs that take only a couple of seconds. * Update gatekeeperv2.kvp Co-authored-by: Greelan <53196309+Greelan@users.noreply.github.com> --- gatekeeperv2.kvp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatekeeperv2.kvp b/gatekeeperv2.kvp index d3a90a7..043c247 100644 --- a/gatekeeperv2.kvp +++ b/gatekeeperv2.kvp @@ -10,7 +10,7 @@ Meta.ConfigManifest=gatekeeperv2config.json Meta.MetaConfigManifest=gatekeeperv2metaconfig.json Meta.ConfigRoot=gatekeeperv2.kvp Meta.MinAMPVersion= -Meta.SpecificDockerImage=cool11989/iceofwraith:gatekeeperv2 +Meta.SpecificDockerImage=cubecoders/ampbase:python3 Meta.DockerRequired=False Meta.ContainerPolicy=Recommended Meta.Prerequsites=[] @@ -54,7 +54,7 @@ App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand=ping App.TelnetLoginFormat={0} -App.UpdateSources=[{"UpdateStageName":"Bot Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/k8thekat/GatekeeperV2/archive/refs/heads/main.zip","UnzipUpdateSource":true,"OverwriteExistingFiles":true,"DeleteAfterExtract":true}] +App.UpdateSources=[{"UpdateStageName":"Bot Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/k8thekat/GatekeeperV2/archive/refs/heads/main.zip","UnzipUpdateSource":true,"OverwriteExistingFiles":true,"DeleteAfterExtract":true},{"UpdateStageName":"Pip & Discord.py Script","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"-c \"pip install --upgrade pip && pip install numpy requests && git clone https://github.com/Rapptz/discord.py && cd discord.py && python3 -m pip install discord.py\""}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False