markdown-writer-fx icon indicating copy to clipboard operation
markdown-writer-fx copied to clipboard

File association

Open ChargingBulle opened this issue 8 years ago • 5 comments

How would I assign this program to open .md files on Windows machines? Is there anything like this planned?

MarkdownPad2 already does this but it's properitary

ChargingBulle avatar Jan 28 '17 16:01 ChargingBulle

This is not yet implemented, but would be definitely a very useful feature...

This probably requires a native launcher (javapackager, launch4j, exe4j, ...) and a way to start only a single instance of Markdown Writer FX (maybe JUnique?)

JFormDesigner avatar Jan 30 '17 17:01 JFormDesigner

This probably requires a native launcher

Following project configured Gradle to generate for most used platforms native launchers (and installers) : https://blog.heckel.xyz/2014/05/29/gradle-create-windows-installers-debian-packages-manage-a-ppa-and-optional-sub-projects/

aadrian avatar May 04 '17 14:05 aadrian

FxLauncher is also a nice project which creates native launchers and allows auto updating the app.

nimakro avatar May 04 '17 15:05 nimakro

Thanks for the great tips. I'll have a look...

I also want to try JavaFX-Gradle-Plugin, which builds launchers and installers and supports file associations. Sounds good, but it seems to require to run the build for each release on 3 platforms. Will try to automate this with Jenkins.

JFormDesigner avatar May 04 '17 16:05 JFormDesigner

Sounds good, but it seems to require to run the build for each release on 3 platforms.

This: https://blog.heckel.xyz/2014/05/29/gradle-create-windows-installers-debian-packages-manage-a-ppa-and-optional-sub-projects/ explains how to build everything with Linux (and Travis) and here a diagram: https://github.com/syncany/syncany/wiki/Continuous-integration

Syncany has a more complicated process, but there's no need for Jenkins.

aadrian avatar May 04 '17 16:05 aadrian