Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute app in FlatHub #142

Open
atrauzzi opened this issue Dec 30, 2023 · 13 comments
Open

Distribute app in FlatHub #142

atrauzzi opened this issue Dec 30, 2023 · 13 comments
Labels
enhancement New feature or request

Comments

@atrauzzi
Copy link

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

@tareqimbasher
Copy link
Owner

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 tareqimbasher added the enhancement New feature or request label Jan 4, 2024
@atrauzzi
Copy link
Author

atrauzzi commented Jan 5, 2024

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

@tareqimbasher
Copy link
Owner

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 😄

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

@atrauzzi
Copy link
Author

atrauzzi commented Jan 6, 2024

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

@tareqimbasher
Copy link
Owner

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

@atrauzzi
Copy link
Author

atrauzzi commented Apr 2, 2024

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! 🥳

@atrauzzi
Copy link
Author

atrauzzi commented Apr 2, 2024

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.

@tareqimbasher
Copy link
Owner

tareqimbasher commented Apr 2, 2024

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.

@atrauzzi
Copy link
Author

atrauzzi commented Apr 2, 2024

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?

@tareqimbasher
Copy link
Owner

tareqimbasher commented Apr 2, 2024

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?

@atrauzzi
Copy link
Author

atrauzzi commented Apr 3, 2024

image

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

@tareqimbasher
Copy link
Owner

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.

@atrauzzi
Copy link
Author

atrauzzi commented Apr 4, 2024

image

I think I have?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants