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

Flathub support #234

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions flatpak/io.github.subhra74.Muon.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=Muon
Exec=snowflake
Icon=io.github.subhra74.Muon.png
Type=Application
Categories=Utility;Development;Network
49 changes: 49 additions & 0 deletions flatpak/io.github.subhra74.Muon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"app-id": "io.github.subhra74.Muon",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.openjdk11"
],
"command": "snowflake",
"finish-args": [
"--env=PATH=/app/jre/bin:/usr/bin:/app/bin",
"--share=ipc",
"--socket=x11",
"--share=network",
"--filesystem=home"
],
"modules": [
{
"name": "openjdk",
"buildsystem": "simple",
"build-commands": [
"/usr/lib/sdk/openjdk11/install.sh"
]
},
{
"name": "snowflake",
"buildsystem": "simple",
"build-commands": [
"install -Dm644 snowflake.jar -t /app/snowflake",
"install -Dm755 flatpak/snowflake -t /app/bin",
"install -Dm644 flatpak/io.github.subhra74.Muon.png -t /app/share/icons/hicolor/128x128/apps",
"install -Dm644 flatpak/io.github.subhra74.Muon.desktop -t /app/share/applications",
"install -Dm644 flatpak/io.github.subhra74.Muon.metainfo.xml -t /app/share/metainfo"
],
"sources": [
{
"type": "file",
"url": "https://github.com/subhra74/snowflake/releases/download/v1.0.4/snowflake.jar",
"sha256": "cc1768e5ce7038d26a893e00066e4d8bed2f42c1ba75b960b324471c5eab74c1"
},
{
"type": "git",
"url": "https://github.com/DUB1401/snowflake",
"commit": "3ee92d8c4f1e618eef804d736fe96e00cef9251d"
}
]
}
]
}
50 changes: 50 additions & 0 deletions flatpak/io.github.subhra74.Muon.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.subhra74.Muon</id>
<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0</project_license>
<name>Muon</name>
<developer_name>subhra74</developer_name>
<launchable type="desktop-id">io.github.subhra74.Muon.desktop</launchable>
<content_rating type="oars-1.1" />
<summary>Graphical SFTP client and terminal emulator with helpful utilities</summary>
<description>
<p>Muon is a graphical SSH client. It has a enhanced SFTP file browser, SSH terminal emulator, remote resource/process manager, server disk space analyzer, remote text editor, huge remote log viewer and lots of other helpful tools, which makes it easy to work with remote servers. Muon provides functionality similar to web based control panels but, it works over SSH from local computer, hence no installation required on server. It runs on Linux and Windows. Muon has been tested with serveral Linux and UNIX servers, like Ubuntu server, CentOS, RHEL, OpenSUSE, FreeBSD, OpenBSD, NetBSD and HP-UX.</p>
</description>
<categories>
<category>Utility</category>
<category>Development</category>
<category>Network</category>
</categories>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/subhra74/snowflake-screenshots/master/file-browser/1.PNG</image>
<caption>Files</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/subhra74/snowflake-screenshots/master/text-editor/9.PNG</image>
<caption>Text editor</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/subhra74/snowflake-screenshots/master/linux-tools/25.PNG</image>
<caption>Linux tools</caption>
</screenshot>
</screenshots>
<url type="homepage">https://github.com/subhra74/snowflake</url>
<url type="bugtracker">https://github.com/subhra74/snowflake/issues</url>
<releases>
<release version="1.0.4" date="2020-02-08">
<description translatable="no">
<ul>
<li>Fixed multiple password prompt and focus issue.</li>
<li>Added re-arrange via drag drop of connections in connection manager</li>
<li>Import sessions from Putty and WinScp</li>
<li>Configurable initial tab</li>
<li>Fixed text editor and terminal focus issue.</li>
<li>Added HTTP, Socks4 and Socks5 proxy.</li>
<li>Several minor bugfixes.</li>
</ul>
</description>
</release>
</releases>
</component>
Binary file added flatpak/io.github.subhra74.Muon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions flatpak/org.snowflake_ssh.App.desktop

This file was deleted.

50 changes: 0 additions & 50 deletions flatpak/org.snowflake_ssh.App.json

This file was deleted.

Binary file removed flatpak/org.snowflake_ssh.App.png
Binary file not shown.