mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Add .desktop launchers in both snap and flatpack packages
This commit is contained in:
parent
e8419e660c
commit
44aa71af18
@ -1,18 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=OnionShare
|
|
||||||
GenericName=OnionShare Client
|
|
||||||
Comment=Share a file securely and anonymously over Tor
|
|
||||||
Comment[da]=Del en fil sikkert og anonymt over Tor
|
|
||||||
Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk
|
|
||||||
Comment[hr]=Dijeli datoteku sigurno i anonimno preko Tora
|
|
||||||
Exec=onionshare-gui
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Icon=org.onionshare.OnionShare
|
|
||||||
Categories=Network;FileTransfer;
|
|
||||||
Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting;
|
|
||||||
Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting;
|
|
||||||
Keywords[de]=tor;Anonymität;Privatsphäre;Onion-Service;File-Sharing;File-Hosting;
|
|
||||||
Keywords[hr]=tor;anonimnost;privatnost;Onion usluga;dijeljenje datoteka;hosting datoteka;
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=onionshare
|
|
10
desktop/src/org.onionshare.OnionShare.desktop
Normal file
10
desktop/src/org.onionshare.OnionShare.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=OnionShare
|
||||||
|
Exec=onionshare
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=org.onionshare.OnionShare
|
||||||
|
Categories=Network;FileTransfer;
|
||||||
|
Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=onionshare
|
2154
desktop/src/org.onionshare.OnionShare.svg
Normal file
2154
desktop/src/org.onionshare.OnionShare.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 157 KiB |
@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# This setup.py file is used for flatpak packaging. For other packaging,
|
# This setup.py file is used for snap and flatpak packaging. For other packaging,
|
||||||
# OnionShare uses briefcase.
|
# OnionShare uses briefcase.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -116,6 +116,8 @@ modules:
|
|||||||
build-commands:
|
build-commands:
|
||||||
- python3 setup.py install --prefix=${FLATPAK_DEST}
|
- python3 setup.py install --prefix=${FLATPAK_DEST}
|
||||||
- install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
|
- install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
|
||||||
|
- install -D -m0644 org.onionshare.OnionShare.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
|
||||||
|
- install -D -m0644 org.onionshare.OnionShare.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
||||||
sources:
|
sources:
|
||||||
- type: dir
|
- type: dir
|
||||||
path: ../desktop/src
|
path: ../desktop/src
|
||||||
|
10
snap/gui/onionshare.desktop
Normal file
10
snap/gui/onionshare.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=OnionShare
|
||||||
|
Exec=onionshare
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=${SNAP}/meta/gui/onionshare.svg
|
||||||
|
Categories=Network;FileTransfer;
|
||||||
|
Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=onionshare
|
2154
snap/gui/onionshare.svg
Normal file
2154
snap/gui/onionshare.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 157 KiB |
Loading…
Reference in New Issue
Block a user