Nintendo Switch 破解系统《大气层》编译环境

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM devkitpro/devkita64
MAINTAINER elelphatp "[email protected]"

RUN mkdir ${DEVKITPRO}/devkitARM && \
wget https://github.com/devkitPro/buildscripts/releases/download/devkitARM_r50/devkitARM_r50-linux.tar.xz && \
tar xvJf devkitARM_r50-linux.tar.xz -C ${DEVKITPRO} && \
git clone --recurse-submodules https://github.com/switchbrew/libnx && cd libnx && \
make && make install

RUN apt update && apt install -y python python-pip zip && \
pip install pycrypto pycryptoplus

ENV DEVKITARM=${DEVKITPRO}/devkitARM

WORKDIR /developer

ENTRYPOINT ["make"]