NiklasGollenstede / native-ext

A node.js endpoint for Chrome and Firefox to connect to via Native Messaging
MIT License
56 stars 3 forks source link

The application is not installed correctly: No such native application de.niklasg.native_ext.firefox #14

Open klepsydra opened 1 year ago

klepsydra commented 1 year ago

Cannot setup on Win x64 Firefox:

moz-extension://c71b2822-07d0-4822-8418-fcb0b9181d6b/reStyle#setup NativeExt Setup

To load local styles and apply styles to the browser UI of Firefox, reStyle needs access to the NativeExt extension.

Please install the NativeExt extension and follow its setup instructions, then click this

button.

Error: The application is not installed correctly: No such native application de.niklasg.native_ext.firefox

image

NiklasGollenstede commented 1 year ago

Well, it's been more than 4 years since I worked on this, and the nodejs runtime used by native-ext hasn't been updated in that long. But lets see about this:

Looks to me like you have installed the native-ext extension, but not followed its setup (installing the actual native application). Did you do that?

klepsydra commented 1 year ago

This is circular. What am I missing?

  1. "Please install the NativeExt extension" goes to https://addons.mozilla.org/en-US/firefox/addon/native-ext/
  2. As you can see, it's already installed: image

About this extension

To use NativeExt, you must download and install its desktop application as well. The extensions option page on about:addons will guide you through the process.

Great! So where is this desktop application? That link redirects to https://github.com/NiklasGollenstede/native-ext#readme Which is back here....

Which, btw, reads: image

NiklasGollenstede commented 1 year ago

:D The clue is in the README, just above what you screenshotted:

Installation

Get the extension for your browser(s): [...]

Then follow the (short) instructions on the options page to install and connect the application.

or the:

Please install the NativeExt extension and follow its setup instructions, then click this [...]

Second part each. After installing the native-ext extension, you have to install the native-ext ("desktop", or really rather CLI) application, as instructed when you open the settings page of the native-ext extension.

I admit that the distinction between the extension and application could be phrased/explained better (especially in the orange banner in your first post), but as far as the workflow goes, I still think that, given the technical framework by the browsers, this is about as good as it gets ...

klepsydra commented 1 year ago

Thanks for the clues. The NativeExt extension was already installed, but its specific setup instructions were too buried, or not where one would look.

What finally moved it forth for me was finding any info about the stand-alone .exe program. Elusive! Finally referenced in

(can't copy and paste that text)

There finally one would see a download link, four lines down the paragraph, to https://github.com/NiklasGollenstede/native-ext/releases/download/v0.3.2/native-ext-v0.3.2-win-x64.exe

Sneaky! No wonder others had given up.
There is also the matter of configuring the right profile path, which fails on some of my PCs, even when written explicitly. Alas, I suppose that would be another issue to file.