question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A crossplatform way to create file associations

See original GitHub issue

There are the extend-info option and installer.nsi.tpl template that allow you to create file association on OS X and Windows separately, but from the application’s perspective it’s the same thing. Can we have a metadata field in package.json for describing file extensions we are interested in? It might look like this:

"build": {
  ...
  "file-associations": "txt|xyz|pdf"
}

Then it could be translated to specific entries in Info.plist and installer.nsi.tpl respectively. It would be very handy.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:34 (16 by maintainers)

github_iconTop GitHub Comments

5reactions
develarcommented, Jul 11, 2016

Since NSIS outperforms Squirrel.Windows in all aspects, issue is reopened and will be implemented. For NSIS only. Because once #529 will be implemented, NSIS will be set as default windows target.

#563

2reactions
develarcommented, Aug 29, 2016

@sfraise Will be pushed in 10-20 minutes after test. And published after push in 10 minutes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding File Associations to Java Desktop Apps
File associations are a great way to integrate your desktop app into the native desktop platform. In fact, if your app allows users...
Read more >
Changing Default File Associations in Windows 10 and 11
In this article, we'll look at how to manage the default File Type Associations (FTA) on Windows 10/11 and Windows Server 2022/2019/2016.
Read more >
Create file associations (ClickOnce app) - Microsoft Learn
To create file associations for a ClickOnce application · Create a ClickOnce application normally, or use your existing ClickOnce application.
Read more >
Cross-platform way to register file type associations with Python
Is there a platform-agnostic way to create file type associations with Python? Looking for something which would provide a simple high-level ...
Read more >
Windows 10 making it easier to manage default file associations
When a program is installed in Windows, if configures itself as the default handler for the types of files it knows how to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found