mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
Fix themes for AppImage
This commit is contained in:
parent
e2343dc3ad
commit
c127772dc1
@ -98,6 +98,10 @@ before_script:
|
|||||||
- cd radare2
|
- cd radare2
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- 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_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;
|
INSTALL_TARGET=install sys/install.sh;
|
||||||
else
|
else
|
||||||
LDFLAGS=-headerpad_max_install_names INSTALL_TARGET=install sys/install.sh;
|
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[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
CutterApplication a(argc, argv);
|
|
||||||
|
|
||||||
// Hack to make it work with AppImage
|
// Hack to make it work with AppImage
|
||||||
#ifdef APPIMAGE
|
#ifdef APPIMAGE
|
||||||
set_appimage_symlink();
|
set_appimage_symlink();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
CutterApplication a(argc, argv);
|
||||||
|
|
||||||
int ret = a.exec();
|
int ret = a.exec();
|
||||||
|
|
||||||
#ifdef APPIMAGE
|
#ifdef APPIMAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user