hmaarrfk / mendeley-rpm

Mendeley packaged for Fedora.
46 stars 8 forks source link

LinkHandler #12

Open hmaarrfk opened 11 years ago

hmaarrfk commented 11 years ago

So in the packaging process, I remove this LinkHandler script.

We should look into what it does, and emulate the function.

What does it do? I don't really know what it does, i think it is for the system to be able to open links such as mendeley://

The LinkHandler script is meant to be "fool proof" and is run everytime mendeley starts up. I guess the devs found that this was an appropriate solution since it makes it would fix itself everytime a user updates the software.

This is NOT an acceptable solution for an INSTALLED program. The installation process should only happen once and it should be transparent to the user.

fmanco commented 11 years ago

Don't know if you noticed but I forgot to remove the linker handler in the last cleanup I did. But I was checking and it works, so I would keep it for now.

We can run the script on the installation process but I think is not the best solution. From my point of view the best solution is to have the package manager properly set the necessary configurations. I think it is basically two gconf but then we will be dependent on using gnome.

Sorry but I have no more free time for now. If you don't do it before I can look at it when I have more time.

hmaarrfk commented 11 years ago

I've removed the link handler in newer versions (actually fixed a few more bugs in the -14.fc19 release).

I really would not know how to test the link handler, so I'll leave it be for now.