diff --git a/.travis.yml b/.travis.yml index d957766..46d7b5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,3 +39,6 @@ addons: - libsndio-dev - libgtk-3-dev - zlib1g-dev + - libwayland-dev + - libxkbcommon-dev + - wayland-protocols diff --git a/build.sh b/build.sh index a52d2ee..3714b67 100755 --- a/build.sh +++ b/build.sh @@ -4,5 +4,5 @@ # build script for TIC-80 ########################################################################## -sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libsndio-dev libgtk-3-dev zlib1g-dev -y +sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libsndio-dev libgtk-3-dev zlib1g-dev libwayland-dev libxkbcommon-dev wayland-protocols -y make linux diff --git a/src/system.c b/src/system.c index 3bbd6b0..0d9963e 100644 --- a/src/system.c +++ b/src/system.c @@ -924,7 +924,7 @@ static void openSystemPath(const char* path) #elif defined(__LINUX__) sprintf(command, "xdg-open \"%s\"", path); - system(command); + if(system(command)){} #elif defined(__MACOSX__)