Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Sep 9, 2023
1 parent 1d6ab1a commit 81ed712
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
20 changes: 18 additions & 2 deletions engines/oss-cosmic-amnesia/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@
git clone https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent.git source
pushd source
git checkout -f 6b387d7
ln -rsf "$VCPKG_SRC_PATH" ./vcpkg

git clone https://github.com/OSS-Cosmic/The-Forge.git external/The-Forge
pushd external/The-Forge
git checkout -f 80ddbfe
popd

git clone https://github.com/microsoft/vcpkg.git vcpkg
pushd vcpkg
git checkout -f 4a600e9
popd
popd

# BUILD PHASE
pushd "source"
ls -l
ls -l vcpkg
mkdir -p build
cd build
cmake \
Expand All @@ -28,3 +32,15 @@ popd
# COPY PHASE
cp -rfv "source/build/"* "$diststart/57300/dist"
cp -rfv "assets/"* "$diststart/57300/dist"

mkdir -p licenses
licensepath="$PWD/licenses"
pushd ./source/vcpkg_installed/x64-linux/share
for d in */ ; do
directory=${d::-1}
echo "$directory"
if [ -f "$directory/copyright" ]; then
cp -rfv "$d/copyright" "$licensepath/$directory.copyright"
fi
done
popd
1 change: 1 addition & 0 deletions engines/oss-cosmic-amnesia/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
export STEAM_APP_ID_LIST="57300"
export LICENSE_PATH="./source/LICENSE"
export APT_LIBRARIES="nasm"
export ADDITIONAL_LICENSES="./licenses/*"
7 changes: 0 additions & 7 deletions engines/oss-cosmic-amnesia/vcpkg.json

This file was deleted.

0 comments on commit 81ed712

Please sign in to comment.