mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 02:25:26 +00:00
Fix themes for AppImage
This commit is contained in:
parent
e2343dc3ad
commit
c127772dc1
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user