scripts: appimage: fix generating extras.pak

This commit is contained in:
Alibek Omarov 2019-01-12 02:56:24 +03:00
parent c8035c1adf
commit 0409107ee2
3 changed files with 2 additions and 3 deletions

View File

@ -983,7 +983,6 @@ int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGa
if( Host_IsDedicated() ) if( Host_IsDedicated() )
{ {
#ifdef _WIN32 #ifdef _WIN32
void Wcon_InitConsoleCommands( void ) // con_win.c
Wcon_InitConsoleCommands (); Wcon_InitConsoleCommands ();
#endif #endif

View File

@ -117,6 +117,7 @@ int Sys_LogFileNo( void );
// con_win.c // con_win.c
// //
#ifdef _WIN32 #ifdef _WIN32
void Wcon_InitConsoleCommands( void );
void Wcon_ShowConsole( qboolean show ); void Wcon_ShowConsole( qboolean show );
void Wcon_Print( const char *pMsg ); void Wcon_Print( const char *pMsg );
void Wcon_Init( void ); void Wcon_Init( void );

View File

@ -6,12 +6,11 @@ APPDIR=$APP-i386.AppDir
mkdir -p $APPDIR mkdir -p $APPDIR
# Generate extras.pak # Generate extras.pak
python3 scripts/makepak.py extras.pak python3 scripts/makepak.py xash-extras/ $APPDIR/extras.pak
# Copy all needed files # Copy all needed files
cp SDL2_linux/lib/libSDL2-2.0.so.0 $APPDIR/ cp SDL2_linux/lib/libSDL2-2.0.so.0 $APPDIR/
cp vgui-dev/lib/vgui.so $APPDIR/ cp vgui-dev/lib/vgui.so $APPDIR/
cp extras.pak $APPDIR/extras.pak
cp build/engine/libxash.so \ cp build/engine/libxash.so \
build/mainui/libmenu.so \ build/mainui/libmenu.so \
build/vgui_support/libvgui_support.so \ build/vgui_support/libvgui_support.so \