mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
Updates based on universal branch
This commit is contained in:
@@ -7,7 +7,7 @@ chmod +x linuxdeploy-$(uname -m).AppImage linuxdeploy-plugin-qt-$(uname -m).AppI
|
||||
|
||||
# Build AppImage
|
||||
mkdir -p appdir/usr/{bin,share/{applications,icons/hicolor}}
|
||||
cp build/Binaries/{hecl,metaforce-gui,metaforce,visigen} appdir/usr/bin
|
||||
cp build/install/{hecl,metaforce-gui,metaforce,visigen} appdir/usr/bin
|
||||
cp -r metaforce-gui/platforms/freedesktop/{16x16,32x32,48x48,64x64,128x128,256x256,512x512,1024x1024} appdir/usr/share/icons/hicolor
|
||||
cp metaforce-gui/platforms/freedesktop/metaforce.desktop appdir/usr/share/applications
|
||||
VERSION="$METAFORCE_VERSION" NO_STRIP=1 ./linuxdeploy-$(uname -m).AppImage --appdir appdir --plugin qt --output appimage
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
cd build/install
|
||||
mv metaforce-gui.app Metaforce.app
|
||||
# order is important
|
||||
for i in visigen hecl metaforce crashpad_handler; do
|
||||
@@ -8,4 +8,4 @@ done
|
||||
macdeployqt Metaforce.app -sign-for-notarization="$CODESIGN_IDENT" -no-strip
|
||||
create-dmg Metaforce.app --identity="$CODESIGN_IDENT" "$GITHUB_WORKSPACE"
|
||||
xcrun altool -t osx -f "$GITHUB_WORKSPACE"/*.dmg --primary-bundle-id com.axiodl.Metaforce --notarize-app \
|
||||
-u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"
|
||||
-u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
cd build/install
|
||||
for f in hecl metaforce-gui metaforce visigen; do
|
||||
objcopy --only-keep-debug $f $f.dbg
|
||||
objcopy --strip-debug --add-gnu-debuglink=$f.dbg $f
|
||||
done
|
||||
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dbg
|
||||
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dbg
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
cd build/install
|
||||
sentry-cli upload-dif --org axiodl --project metaforce {hecl,metaforce-gui,metaforce,visigen}{,.dbg} --include-sources
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries/metaforce-gui.app/Contents/MacOS
|
||||
cd build/install/metaforce-gui.app/Contents/MacOS
|
||||
for f in hecl metaforce-gui metaforce visigen; do
|
||||
dsymutil $f
|
||||
strip -S $f
|
||||
|
||||
Reference in New Issue
Block a user