mirror of
https://github.com/pyrohost/pyrodactyl.git
synced 2026-04-06 04:01:58 +02:00
fixed initialization bugs
1. Added the Vintage Story Nest to the NestSeeder 2. Moved the vintage story egg from OtherGames to vintage-story (Note: OtherGames should be renamed to other-games to follow naming conventions) 3. fixed incorrect rustic download link in provision.sh
This commit is contained in:
@@ -44,6 +44,7 @@ class NestSeeder extends Seeder
|
||||
$this->createSourceEngineNest(array_get($items, 'Source Engine'));
|
||||
$this->createVoiceServersNest(array_get($items, 'Voice Servers'));
|
||||
$this->createRustNest(array_get($items, 'Rust'));
|
||||
$this->createVintageStoryNest(array_get($items, 'Vintage Story'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -105,4 +106,20 @@ class NestSeeder extends Seeder
|
||||
], 'support@pterodactyl.io');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the Vintage Story nest to be used later on.
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
*/
|
||||
private function createVintageStoryNest(?array $nest = null)
|
||||
{
|
||||
if (is_null($nest)) {
|
||||
$this->creationService->handle([
|
||||
'name' => 'Vintage Story',
|
||||
'description' => 'Vintage Story - An uncompromising wilderness survival sandbox game.',
|
||||
], 'support@pterodactyl.io');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -291,7 +291,7 @@ log Installing rustic for Elytra backups
|
||||
if [ ! -f /usr/local/bin/rustic ]; then
|
||||
apt-get install -y libfuse2
|
||||
ARCH=$(uname -m); [[ $ARCH == x86_64 ]] && ARCH=x86_64 || ARCH=aarch64
|
||||
curl -fsSL -o /tmp/rustic.tar.gz "https://github.com/rustic-rs/rustic/releases/latest/download/rustic-v0.10.0-${ARCH}-unknown-linux-musl.tar.gz"
|
||||
curl -fsSL -o /tmp/rustic.tar.gz "https://github.com/rustic-rs/rustic/releases/download/v0.10.0/rustic-v0.10.0-${ARCH}-unknown-linux-musl.tar.gz"
|
||||
tar -xf /tmp/rustic.tar.gz -C /tmp rustic
|
||||
mv /tmp/rustic /usr/local/bin/
|
||||
chmod +x /usr/local/bin/rustic
|
||||
|
||||
Reference in New Issue
Block a user