Skip to content

Commit cd56d26

Browse files
committed
add pkg_extractor
1 parent cc0bb5f commit cd56d26

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,19 @@ RUN \
238238
mv \
239239
squashfs-root \
240240
/opt/shadps4 && \
241+
PKG_URL=$(curl -sX GET "https://api.github.com/repos/AzaharPlus/shadPS4Plus/releases/latest" \
242+
| awk -F '(": "|")' '/browser.*linux.zip/ {print $3}') && \
243+
curl -o \
244+
/tmp/pkg.zip -L \
245+
"${PKG_URL}" && \
246+
cd /tmp && \
247+
unzip pkg.zip && \
248+
cd ShadPs4Plus-PkgExtractor* && \
249+
chmod +x pkg_extractor.AppImage && \
250+
./pkg_extractor.AppImage --appimage-extract && \
251+
mv \
252+
squashfs-root/usr/bin/pkg_extractor \
253+
/usr/local/bin/ && \
241254
echo "**** cleanup ****" && \
242255
apt-get autoclean && \
243256
rm -rf \

0 commit comments

Comments
 (0)