Skip to content

Commit

Permalink
Flatpak updates
Browse files Browse the repository at this point in the history
  • Loading branch information
achhabra2 committed Apr 19, 2022
1 parent 503be8e commit 25ef52b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
2 changes: 2 additions & 0 deletions app.go
Expand Up @@ -469,6 +469,8 @@ func (b *App) AppInstalledFromPackageManager() bool {
case "darwin":
homePath, _ := os.UserHomeDir()
return strings.Contains(homePath, "Containers")
case "linux":
return true
default:
return false
}
Expand Down
25 changes: 15 additions & 10 deletions build/linux/app.riftshare.RiftShare.appdata.xml
Expand Up @@ -3,25 +3,27 @@
<id>app.riftshare.RiftShare</id>

<name>RiftShare</name>
<summary>Easy, Secure, Free file sharing</summary>
<summary>Easy, Secure, Free file sharing. Cross platform file sharing using magic wormhole</summary>

<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0-or-later</project_license>

<description>
<p>
Description
</p>
<p>
The purpose of this project is to enable everyone to be able to share files privately in real time, without the use of the major tech companies and cloud providers. Use RiftShare to send files to your friends and family, or even between computers at your house. It is shocking how over the years, sharing files is still more complicated than it needs to be. Look no further. No accounts, sign-ups, or tracking, just use a simple human-readable passphrase to securely transfer files. RiftShare is a front end to magic wormhole and is compatible with any other CLI or UI apps that use the same protocol.
</p>
<p>
Features
</p>
<p>
<em> Easy secure file transfers between computers both in the local network and through the internet </em> Supports transferring files or directories securely through the magic wormhole protocol <em> Compatible with all other apps using magic wormhole (magic-wormhole or wormhole-william CLI, wormhole-gui, etc.) </em> Automatic zipping and unzipping of multiple selected files to send at once <em> Full animations and progress bar for sending and receiving </em> Native OS File Selection * Open files in one click once received
</p>
</description>
<ul>
<li> Easy secure file transfers between computers both in the local network and through the internet </li>
<li> Supports transferring files or directories securely through the magic wormhole protocol </li>
<li> Compatible with all other apps using magic wormhole (magic-wormhole or wormhole-william CLI, wormhole-gui, etc.) </li>
<li> Automatic zipping and unzipping of multiple selected files to send at once </li>
<li> Full animations and progress bar for sending and receiving </li>
<li> Native OS File Selection * Open files in one click once received </li>
</ul>
</description>

<launchable type="desktop-id">app.riftshare.RiftShare.desktop</launchable>
<screenshots>
Expand All @@ -36,11 +38,14 @@
</screenshot>
</screenshots>

<url type="homepage">https://riftshare.app</url>
<content_rating type="oars-1.1" />

<releases>
<release version="0.1.7" date="2022-04-19">
<description>
<p>Initial Flatpak Release</p>
</description>
</release>
</releases>
</release>
</releases>
</component>
5 changes: 3 additions & 2 deletions build/linux/app.riftshare.RiftShare.yaml
Expand Up @@ -23,12 +23,13 @@ modules:
sources:
- type: archive
url: "https://github.com/achhabra2/riftshare/releases/download/v0.1.7/riftshare-vendored.tar.gz"
sha256: 7723d02079a844e57adda3290607b032377ac55b36a260cfd9e33b7d8705bc38
sha256: 7fc58ba04b5787e3ba20202fecbeae7c87567df254832687b1c90f894e4276ed
strip-components: 1
buildsystem: simple
build-commands:
- go build -tags desktop,production -ldflags "-w -s" -o RiftShare
- install -Dm755 RiftShare /app/bin/RiftShare
- install -Dm644 build/linux/app.riftshare.RiftShare.desktop /app/share/applications/app.riftshare.RiftShare.desktop
- install -Dm644 build/linux/app.riftshare.RiftShare.png /app/share/icons/hicolor/512x512/apps/app.riftshare.RiftShare.png
- install -Dm644 build/linux/app.riftshare.RiftShare.appdata.xml /app/share/metainfo/app.riftshare.RiftShare.appdata.xml
- install -Dm644 build/linux/app.riftshare.RiftShare.appdata.xml /app/share/metainfo/app.riftshare.RiftShare.appdata.xml
- install -Dm644 build/linux/app.riftshare.RiftShare.appdata.xml /app/share/appdata/app.riftshare.RiftShare.appdata.xml

0 comments on commit 25ef52b

Please sign in to comment.