NetPad icon indicating copy to clipboard operation
NetPad copied to clipboard

Distribute app in FlatHub

Open atrauzzi opened this issue 1 year ago • 13 comments

Would make installation a breeze and keeping up to date even easier.

atrauzzi avatar Dec 30 '23 12:12 atrauzzi

NetPad is not yet distributed to any stores, but when that happens FlatHub will also be of interest. In the meantime, for the future I can include a FlatPack single file bundle in the Assets of new releases.

tareqimbasher avatar Jan 04 '24 19:01 tareqimbasher

That would be awesome and I'll definitely give it a shot once available.

atrauzzi avatar Jan 05 '24 19:01 atrauzzi

That would be helpful. If you're willing infact, I can try to generate a FlatPak bundle for v0.6.1 and send it over if you'd be willing to give it a whirl :smile:

While I mentioned NetPad isn't on any stores yet, it is on the AUR if anyone is on Arch or Manjaro.

tareqimbasher avatar Jan 06 '24 03:01 tareqimbasher

Yeah, let me know. I'm on Fedora FWIW.

atrauzzi avatar Jan 06 '24 10:01 atrauzzi

@atrauzzi new v0.7.0 release has flatpak package. I have not tested it out. Let me know how it goes for you!

tareqimbasher avatar Apr 02 '24 04:04 tareqimbasher

image

Seems to install and start! I'll put some time in learning the app now that I have a nice way of installing it.

I'd say this is definitely good enough to get listed in Flathub. I'm sure you'll get lots of visibility this way and many more people testing it! :partying_face:

atrauzzi avatar Apr 02 '24 14:04 atrauzzi

First note:

image

You may want to consider ensuring the application requests access to system-wide installations of .NET and related tools.

I have .NET 8 installed on my system, so I'm not sure where it's picking 6 up from.

atrauzzi avatar Apr 02 '24 14:04 atrauzzi

Thank you for testing this out! NetPad does check system-wide installations of the .NET SDK. It does so by checking common install locations (see this). If you have an uncommon install location for your SDKs you can set the path in NetPad settings.

The .NET 6 from your screenshot is the .NET runtime that NetPad is currently running on, in this case it's the .NET runtime that ships with NetPad itself.

Keep in mind that .NET 6 SDK is NOT shipped with NetPad, and you'll want to install it if you plan on using database connections. This dependency will be removed in a future release.

tareqimbasher avatar Apr 02 '24 15:04 tareqimbasher

If you have an uncommon install location for your SDKs you can set the path in NetPad settings.

I'm using the default Microsoft distributed Fedora .NET package, so it might be that the checks need to be expanded perhaps?

atrauzzi avatar Apr 02 '24 23:04 atrauzzi

Possibly. What is the location your SDKs are currently installed at?

And just to confirm were you able to set the custom location in NetPad Settings and get it up and running?

tareqimbasher avatar Apr 02 '24 23:04 tareqimbasher

image

I set this path, but it still doesn't appear to be working?

atrauzzi avatar Apr 03 '24 17:04 atrauzzi

You want to set the path to the root directory where the .NET SDK is installed, not the path to the dotnet executable. So on my system for example I have .NET SDK installed at /opt/dotnet and my executable path is /opt/dotnet/dotnet, in my case I'd set the path in Settings to /opt/dotnet.

As you can see below, the directory where .NET SDK is installed would have not only the dotnet executable itself, but also all these other folders like packs, sdk, shared...

image

Hope that helps but let me know if you still have an issue getting it to work.

tareqimbasher avatar Apr 04 '24 04:04 tareqimbasher

image

I think I have?

It also doesn't work for /usr/lib64/dotnet or /usr/lib64/dotnet/sdk/8.0.102

atrauzzi avatar Apr 04 '24 16:04 atrauzzi