Feel-ix-343 / markdown-oxide

Editor Agnostic PKM: you bring the text editor and we bring the PKM - inspired by and compatible with Obsidian
GNU General Public License v3.0
684 stars 10 forks source link

NeoVim / Mason / Windows 11: The current platform is unsupported #77

Closed Grueslayer closed 1 month ago

Grueslayer commented 1 month ago

Installing binary on Intel / Windows 11 / 64bit with

:MasonInstall markdown-oxide

fails with

  Failed
    ◍ markdown-oxide
      ▼ Displaying full log
        The current platform is unsupported.

this is because in the Mason registry (do you have access to it?) it is tagged with

    "source": {
      "id": "pkg:github/feel-ix-343/markdown-oxide@v0.0.21",
      "asset": [
        {
          "target": "win_x86",
          "file": "markdown-oxide-{{version}}-x86_64-pc-windows-gnu.zip",
          "bin": "markdown-oxide-{{version}}-x86_64-pc-windows-gnu/markdown-oxide.exe"
        }
      ]
    },

which means 32-bit but filename says ...-x86_64-... and will be 64 bit. Target has to be changed to win_x64 in the registry definition!

Meanwhile we can use

:MasonInstall --target=win_x86 markdown-oxide

Feel-ix-343 commented 1 month ago

Hey! Thanks for reporting and giving a solution. I didn't know this about windows; my apologies.

I don't have access to the mason repo, and unfortunately it will likely take weeks for a PR to get merged. I'll make it right now https://github.com/mason-org/mason-registry/pull/5570

Feel-ix-343 commented 1 month ago

I expect this is related to #73

Feel-ix-343 commented 1 month ago

This should be fixed now. Let me know how it works and I'll reopen if it doesn't