Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File association on windows #79

Merged

Conversation

vQuagliaro
Copy link
Contributor

No description provided.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @stefanjudis, @demetris-manikas and @vxsx to be potential reviewers

@@ -139,6 +143,10 @@ Icon to be shown in installation process.
### `win.nsiTemplate` *( optional )*
Option to define a custom NSI installation file.

### `win.fileAssociation` *( optional )*
Option to define a custom file association on Windows.
Caution: `win.fileAssociation` does not work when `win.nsiTemplate` is defined.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should still work if the custom template is based on the original one

@vQuagliaro
Copy link
Contributor Author

Hi @stefanjudis, @demetris-manikas and @vxsx,
In the PR, a new option is created to define a custom file association on Windows.
Thank in advance for reviewing and leaving comments.

@stefanjudis
Copy link
Contributor

@vQuagliaro sorry for delay.

I'm currently on vacation but will be back tomorrow. So I'm trying to get to it asap.
If nothing happened in 2day - feel free to ping again. :bowtie:

@sergeysova
Copy link

Very good!

@vQuagliaro
Copy link
Contributor Author

Hi @stefanjudis,
I'm back 😄 !
Thank in advance for reviewing and leaving comments.

@stefanjudis
Copy link
Contributor

@vQuagliaro

Hey hey, I finally had some time to look at it. Sorry again for the delay.

a custom file association on Windows.

Can you explain me the use case for this. I'm not familiar with this file association thing. :(

@TristanPouliquen
Copy link

@stefanjudis I worked with Vincent on a project with Electron.

File association in Windows is the feature that allows you to tell Windows that a .myapp file type is to be opened with your Electron application.

Then, when the user double-clicks on the files with your custom file type, it opens them automatically with your application.

Here is a blog article we wrote on this feature to explain it in more detail: http://www.theodo.fr/blog/2015/12/link-files-to-application-in-windows/

@stefanjudis
Copy link
Contributor

@TristanPouliquen @vQuagliaro

Uhhh nice!!! Thanks for explanation.
I will have a look at it tonight.

What about the macos counterpart. Did you folks play around with that too?

@TristanPouliquen
Copy link

@stefanjudis It is on our TODO list. But the mechanism seems to be quite different and it is not in the scope of the project we are working on at work for the moment.

But we are building an electron-boilerplate to help bootstrap complete Electron applications for all platforms so we will come to it !

@stefanjudis
Copy link
Contributor

But the mechanism seems to be quite different and it is not in the scope of the project we are working on at work for the moment.

Fair enough - probably we would need a proper package installer for that. :)

I will check this PR tonight then and probably also ship a new version of electron-builder tonight.

@stefanjudis
Copy link
Contributor

Shi....

I was working through the PR's from top. :(
@vQuagliaro Can you please resolve conflicts.

Sorry.

@vQuagliaro
Copy link
Contributor Author

@stefanjudis
Conflicts have been resolved and it has just been tested manually.
The same feature for osx is always on our TODO list.

Thanks for all.

@vQuagliaro
Copy link
Contributor Author

@stefanjudis,
I'm back 😄 !
If you have time, could you please check and merge this PR?

@stefanjudis
Copy link
Contributor

LGTM! 👍

Just a little side note... please check commit messages of the project. ;)
No need for [...] foo here. :)

But thanks for contribution. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants