Files
fex-bedrock-vanilla/build/setup-arm64
T
Geoff Bourne fc68969c4b Add property mapping for force-gamemode (#406)
Also
* Updated box64 package structure
2024-04-03 22:29:25 -05:00

17 lines
514 B
Bash
Executable File

#!/bin/sh
set -eu
if [ "$TARGETARCH" = "arm64" ] ; then
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y debian-keyring
curl -L https://ryanfortner.github.io/box64-debs/box64.list -o /etc/apt/sources.list.d/box64.list
curl -L https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y "$BOX64_PACKAGE"
apt-get clean
rm -rf /var/lib/apt/lists/*
fi