scripts: ios: enable decay build in buildallmods.sh

This commit is contained in:
ksagameng
2026-03-19 05:37:47 +03:00
committed by a1batross
parent 93cb146f39
commit 11c7c1b77d
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,8 @@ void *IOS_LoadLibrary( const char *dllname )
else postfix = "";
}
Q_strncpy( strippedname, dllname, strlen(dllname) - EXT_LENGTH );
Q_strncpy( strippedname, dllname, sizeof( strippedname ) );
COM_StripExtension(strippedname);
Q_snprintf( name, MAX_STRING, "%s_%s.dylib", strippedname, postfix );
pHandle = IOS_LoadLibraryInternal( name );

View File

@@ -14,7 +14,7 @@ cd $SCRIPTDIR
./buildhlsdk.sh dmc _dmc
./buildhlsdk.sh eftd _eftd
#linux only??
#./buildhlsdk.sh decay-pc _decay
./buildhlsdk.sh decay-pc _decay
./buildhlsdk.sh echoes _echoes
./buildhlsdk.sh gravgun _gravgun
./buildhlsdk.sh opfor _opfor

View File

@@ -10,7 +10,6 @@ if [ -d $BUILDDIR ]; then
cp -r "$BUILDDIR/ios/dlls" "$BUILDDIR/ios/xash3d.app"
cp -r "$BUILDDIR/ios/cl_dlls" "$BUILDDIR/ios/xash3d.app"
cp -r "$BUILDDIR/ios/cstrike" "$BUILDDIR/ios/xash3d.app"
cp Info.plist "$BUILDDIR/ios/xash3d.app"
cp ftp_commands.plist "$BUILDDIR/ios/xash3d.app"
if [ ! -d $BUILDDIR/SDL2.framework ]; then