Skip to content

Commit

Permalink
Fix themes for AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
thestr4ng3r committed Mar 9, 2018
1 parent e2343dc commit c127772
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ before_script:
- cd radare2
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sed -i 's,R2_PREFIX.*,R2_PREFIX "/tmp/.cutter_usr",' libr/include/r_userconf.h.acr;
sed -i 's,R2_DATDIR.*,R2_DATDIR "/tmp/.cutter_usr/share",' libr/include/r_userconf.h.acr;
echo "Modified r_userconf.h.acr:";
cat libr/include/r_userconf.h.acr;
echo "-----------------------------";
INSTALL_TARGET=install sys/install.sh;
else
LDFLAGS=-headerpad_max_install_names INSTALL_TARGET=install sys/install.sh;
Expand Down
4 changes: 2 additions & 2 deletions src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ void set_appimage_symlink()

int main(int argc, char *argv[])
{
CutterApplication a(argc, argv);

// Hack to make it work with AppImage
#ifdef APPIMAGE
set_appimage_symlink();
#endif

CutterApplication a(argc, argv);

int ret = a.exec();

#ifdef APPIMAGE
Expand Down

0 comments on commit c127772

Please sign in to comment.