mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 00:19:47 +01:00
parent
ddd20e3e91
commit
895b5e3865
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [ubuntu-20.04]
|
||||
cc: [gcc]
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
|
|
@ -23,8 +23,14 @@ jobs:
|
|||
steps:
|
||||
- run: sudo apt-get update -y
|
||||
- run: sudo apt-get install -y libgtkmm-3.0-dev libcurl4-gnutls-dev libyajl-dev valgrind
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: make
|
||||
- run: sudo make install
|
||||
- run: make clean
|
||||
- run: which samrewritten
|
||||
- run: cd package && ./build_appimage.sh
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: SamRewritten
|
||||
path: package/Sam*.AppImage
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@ It comes with third-party tools integration and a nice user interface.
|
|||
|
||||
SamRewritten is constantly under development, if you think you can give us a hand, feel free to reach us :)
|
||||
|
||||
### ⚠️ As of now, SamRewritten only works if Steam has been installed through your package manager (apt, pacman, ...)
|
||||
### ⚠️ SamRewritten only works if Steam has been installed through your package manager (apt, pacman, ...).
|
||||
### ⚠️ Flatpak is *not* supported but contributions are welcome!
|
||||
|
||||
# Building
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,11 @@ if [ ! -f ../bin/samrewritten ]; then
|
|||
popd
|
||||
fi
|
||||
|
||||
export LINUXDEPLOY="linuxdeploy-x86_64.AppImage --appimage-extract-and-run"
|
||||
|
||||
rm -rf AppDir
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir
|
||||
chmod +x ${LINUXDEPLOY%%--*}
|
||||
./$LINUXDEPLOY --appdir AppDir
|
||||
grep -v Icon samrewritten.desktop > AppDir/myapp.desktop
|
||||
echo Icon=myapp >> AppDir/myapp.desktop
|
||||
cp ../assets/icon_256.png AppDir/myapp.png
|
||||
|
|
@ -29,4 +32,4 @@ cp ../bin/samrewritten AppDir/usr/bin
|
|||
cp ../bin/libsteam_api.so AppDir/usr/lib
|
||||
cp ../assets/icon_256.png AppDir/usr/assets/
|
||||
|
||||
LD_LIBRARY_PATH=AppDir/usr/lib ./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
|
||||
LD_LIBRARY_PATH=AppDir/usr/lib ./$LINUXDEPLOY --appdir AppDir --exclude-library=libgmodule-2.0 --output appimage
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue
Block a user