Browse Source

scripts: appimage: fix generating extras.pak

pull/2/head
Alibek Omarov 6 years ago
parent
commit
0409107ee2
  1. 1
      engine/common/host.c
  2. 1
      engine/common/system.h
  3. 3
      scripts/build_appimage.sh

1
engine/common/host.c

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

1
engine/common/system.h

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

3
scripts/build_appimage.sh

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

Loading…
Cancel
Save