Active Topics

 


Reply
Thread Tools
Posts: 63 | Thanked: 106 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: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#2
you can use Exec=sailfish-qml myapp inside your .desktop file without having binary in /usr/bin
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 63 | Thanked: 106 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


 
Forum Jump


All times are GMT. The time now is 23:29.