mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
scripts: ios: enable decay build in buildallmods.sh
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user