Registered Member
|
After this:
viewtopic.php?f=15&t=87138 I've made a simple X.509 certificate viewer that allows to view the basic details of a certificate in DER and PEM format. So what I have now is a python script and the associated python for the ui. My issues are now how do I package and release it to the general public. Mainly what I want to know is: - where do I put the scripts? I'm using /usr/local/bin right now - How do I change the file associations for .der, .crt and .pem files? Thanks! |
Administrator
|
First you will need to create a *.desktop file for your application.
A *.desktop file usually contains something like the following:
You can find out the mimetype of the various supported X.509 files by running "file --mime-type" on them. If your application requires arguments to launch, and isn't capable of selecting the certificate to open itself, you can remove the Categories line, and add "NoDisplay=true" The command to run the application should usually not hard code a path also. Example:
Once that is done, you will need to create a CMakeLists.txt file to install your application. The following should get the job done, I have never written one for a Python app before though. Change the file names as needed.
If you have problems with that step, you may wish to ask on kde-buildsystem@kde.org
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
wow!
Thank you for your answer. I will have a go on setting up as per your email. Thanks! |
Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]