mmtrt / notepad-plus-plus-snap

Unofficial snap repo for notepad-plus-plus snap
https://snapcraft.io/notepad-plus-plus
MIT License
64 stars 7 forks source link

Needs wine-platform installed, but doesn't depend on it #16

Closed cslycord closed 3 years ago

cslycord commented 5 years ago

At least on debian, after snapd is installed, if I immediately install the notepad-plus-plus snap, when I attempt to run it, it complains that it needs to be connected to the wine-platform snap. It would be preferable for the wine-platform snap to be automatically installed as a dependency, as the notepad-plus-plus snap requires it.

mmtrt commented 5 years ago

when npp snap installs for the first time after download then it connects the plugs so when it stuck on connecting necessary plugs there it auto downloads wine-platform snap then connects to it. Do note that wine-platform snap is large in size could take few moments to setup depend on user connection & system.

cslycord commented 5 years ago

When I installed the npp snap for the first time, any auto download/install of wine-platform didn't occur.

On Sun, Jan 20, 2019, 4:57 PM Taqi Raza <notifications@github.com wrote:

when npp snap installs for the first time after download then it connects the plugs so when it stuck on connecting necessary plugs there it auto downloads wine-platform snap then connects to it. Do note that wine-platform snap is large in size could take few moments to setup depend on user connection & system.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mmtrt/notepad-plus-plus/issues/16#issuecomment-455845279, or mute the thread https://github.com/notifications/unsubscribe-auth/ALs1_fNznw5MSzMoOnVKt1pW6RlQdo-Oks5vFCFqgaJpZM4ZyVLS .

zhuker commented 4 years ago

steps to reproduce:

git clone https://github.com/mmtrt/notepad-plus-plus.git
snapcraft snap
snap install --dangerous --devmode ./notepad-plus-plus_7.8.2_amd64.snap
notepad-plus-plus

error:

You need to connect this snap to the wine runtime snap.

You can do this with those commands:
snap install wine-platform-runtime
snap connect notepad-plus-plus:wine-runtime wine-platform-runtime
mmtrt commented 4 years ago

That's expected behavior on manual install of snap which won't connect nor download any of required snaps automatically so users have to follow these steps defined.