diff --git a/README.md b/README.md index f67e7d62..90599a02 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ sudo pacman -R nui-sftp ### All Other Distributions +#### AppImage + +An AppImage is provided for most distributions. Download it from the releases section and run it directly: +```bash +chmod +x nui-sftp-*.AppImage +./nui-sftp-*.AppImage +``` + +#### Flatpak + For other distributions a flatpak is provided. Currently not in the official flathub, but that will come eventually. Download the flatpak from a release and install it like so: ```bash @@ -45,6 +55,8 @@ Download the flatpak from a release and install it like so: flatpak install nui-sftp-flatpak-x86_64_0.1.1.flatpak ``` +> **Note:** Local shells do not work inside the flatpak due to sandbox restrictions. If you need the local shell feature, use the AppImage or the AUR package instead. + ## Apple Computers macOS is currently not supported. Maybe in the future if there is demand. diff --git a/webpage/frontend/source/frontend/sections/platforms.cpp b/webpage/frontend/source/frontend/sections/platforms.cpp index 78973252..abfc5f54 100644 --- a/webpage/frontend/source/frontend/sections/platforms.cpp +++ b/webpage/frontend/source/frontend/sections/platforms.cpp @@ -75,7 +75,7 @@ namespace NuiSftpPage::Sections std::string const versionLine = "AUR today " + Utf8::cp(0x00B7) + " Flathub & NixOS soon"; std::string const description = - "Native AUR package and a Flatpak bundle from Releases today. " + "Native AUR package, an AppImage, and a Flatpak bundle from Releases today. " "Flathub and nixpkgs are on the way."; return div{class_ = "platform-card glass shine"}( @@ -93,6 +93,7 @@ namespace NuiSftpPage::Sections )), p{style = "margin: 0; color: var(--ink-dim); font-size: 14px"}(description), pkgRow("yay -S nui-sftp", "archlinux user repository"), + pkgRow("./nui-sftp-*.AppImage", "appimage"), pkgRow("flatpak install ./nui-sftp-*.flatpak", "from releases"), pkgRow("flathub: org.nuicpp.nui_sftp", "soon", true), pkgRow("nixpkgs.nui-sftp", "soon", true),