mirror of
https://github.com/zen-browser/flatpak.git
synced 2025-07-07 17:05:36 +02:00
chore: Add Zen Browser desktop entry and metainfo
This commit is contained in:
parent
35b7ccaaeb
commit
82ed2cedef
5 changed files with 110 additions and 0 deletions
11
com.zen.browser.desktop
Normal file
11
com.zen.browser.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
|
||||
Name=Zen Browser
|
||||
Comment=Zen Browser. Your browser, your way.
|
||||
Categories=Network;WebBrowser;
|
||||
|
||||
Icon=com.zen.browser
|
||||
Exec=/app/bin/launch-script.sh
|
||||
Terminal=false
|
33
com.zen.browser.metainfo.xml
Normal file
33
com.zen.browser.metainfo.xml
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.zen.browser.alpha</id>
|
||||
|
||||
<name>Zen Browser Alpha</name>
|
||||
<summary>Zen Browser. youur browser, your way!</summary>
|
||||
|
||||
<metadata_license>MIT</metadata_license>
|
||||
<project_license>MPL-2.0</project_license>
|
||||
|
||||
<description>
|
||||
<p>Zen Browser is a firefox based browser that will change the way you surf the web!</p>
|
||||
|
||||
<ul>
|
||||
<li>Split views</li>
|
||||
<li>Web Sidebar</li>
|
||||
<li>Tab Groups</li>
|
||||
<li>Customizable UI</li>
|
||||
<li>Vertical Tabs</li>
|
||||
<li>And more...</li>
|
||||
</ul>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">com.zen.browser.alpha.desktop</launchable>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://get-zen.vercel.app/browser-dark.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://get-zen.vercel.app/browser-light.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
</component>
|
BIN
icons/appdir/128x128/com.zen.browser.png
Normal file
BIN
icons/appdir/128x128/com.zen.browser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
icons/hicolor/128x128/apps/com.zen.browser.png
Normal file
BIN
icons/hicolor/128x128/apps/com.zen.browser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
66
org.zen.browser.flatpak.yml
Normal file
66
org.zen.browser.flatpak.yml
Normal file
|
@ -0,0 +1,66 @@
|
|||
app-id: com.zen.browser
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '22.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
base: org.mozilla.firefox.BaseApp
|
||||
base-version: '22.08'
|
||||
command: launch-script.sh
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --share=network
|
||||
- --env=GTK_PATH=/app/lib/gtkmodules
|
||||
- --socket=pulseaudio
|
||||
- --socket=wayland
|
||||
- --socket=x11
|
||||
- --socket=pcsc
|
||||
- --socket=cups
|
||||
- --persist=.zen-browser
|
||||
- --filesystem=xdg-download:rw
|
||||
- --device=all
|
||||
- --talk-name=org.freedesktop.FileManager1
|
||||
- --system-talk-name=org.freedesktop.NetworkManager
|
||||
- --talk-name=org.a11y.Bus
|
||||
- --talk-name=org.gnome.SessionManager
|
||||
- --talk-name=org.freedesktop.ScreenSaver
|
||||
- --talk-name=org.freedesktop.Notifications
|
||||
- --own-name=com.zen.browser.*
|
||||
modules:
|
||||
- name: pulse_browser
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- tar -xvf pulse-browser.tar.bz2
|
||||
- mv pulse-browser/ bin/
|
||||
|
||||
- install -d /app/bin
|
||||
- install -d /app/bin/distribution
|
||||
- install -d /app/share/icons
|
||||
- install -d /app/share/metainfo
|
||||
- install -d /app/share/applications
|
||||
|
||||
- cp -r bin/* /app/bin
|
||||
- cp -r icons/* /app/share/icons
|
||||
- cp launch-script.sh /app/bin/launch-script.sh
|
||||
- cp -r policies.json /app/bin/distribution/policies.json
|
||||
|
||||
- cp com.zen.browser.metainfo.xml /app/share/metainfo/com.zen.browser.metainfo.xml
|
||||
- cp com.zen.browser.desktop /app/share/applications/com.zen.browser.desktop
|
||||
|
||||
- chmod +x /app/bin/launch-script.sh
|
||||
sources:
|
||||
- type: file
|
||||
path: ./pulse-browser.tar.bz2
|
||||
|
||||
- type: file
|
||||
path: ./policies.json
|
||||
|
||||
- type: file
|
||||
path: ./launch-script.sh
|
||||
|
||||
- type: file
|
||||
path: ./com.zen.browser.metainfo.xml
|
||||
- type: file
|
||||
path: ./com.zen.browser.desktop
|
||||
|
||||
- type: dir
|
||||
path: ./icons/
|
||||
dest: icons
|
Loading…
Add table
Add a link
Reference in a new issue