Notices


Reply
Thread Tools
Posts: 34 | Thanked: 57 times | Joined on Mar 2017
#1
Hi,

By copying the various bits from another app, I'm able to make my own app:
- /usr/share/myapp directory with the various qml files in a qml directory and pages and cover directories
- /usr/share/applications/myapp.desktop

But I also seem to need a /usr/bin/myapp file which is currently a copy of the /usr/bin/originalapp file?

Is this because the app I've copied has some c/c++ stuff in it, or do all apps need something in /usr/bin? And if so, is there a generic one that can be used? If not, how would I go about creating a basic one for myself?

Thanks
 

The Following User Says Thank You to moodroid For This Useful Post:
coderus's Avatar
Posts: 5,984 | Thanked: 10,901 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#2
you can use Exec=sailfish-qml myapp inside your .desktop file without having binary in /usr/bin
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 34 | Thanked: 57 times | Joined on Mar 2017
#3
Thanks, coderus. That sorted it.
The only extra thing I had to do was:
pkcon install libsailfishapp-launcher
 

The Following User Says Thank You to moodroid For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:17.