linux flatpak config pt3
This commit is contained in:
BIN
mih_ui/mih_app_flatpak/main.png
Normal file
BIN
mih_ui/mih_app_flatpak/main.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 169 KiB |
@@ -7,3 +7,5 @@ Exec=mzansi_innovation_hub
|
||||
Icon=za.co.mzansiinnovationhub.mih
|
||||
Terminal=false
|
||||
Categories=Utility;
|
||||
Keywords=Mzansi;Innovation;Hub;App;
|
||||
StartupWMClass=mzansi_innovation_hub
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
<name>MIH App</name>
|
||||
<summary>First Super App of Mzansi</summary>
|
||||
<developer_name>Mzansi Innovation Hub</developer_name>
|
||||
|
||||
<description>
|
||||
<p>
|
||||
@@ -17,6 +18,16 @@
|
||||
|
||||
<launchable type="desktop-id">za.co.mzansiinnovationhub.mih.desktop</launchable>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>The main dashboard of the MIH App</caption>
|
||||
<image>https://git.mzansi-innovation-hub.co.za/yaso_meth/mih-project/raw/branch/main/mih_ui/mih_app_flatpak/main.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<url type="homepage">https://mzansi-innovation-hub.co.za</url>
|
||||
<url type="bugtracker">https://git.mzansi-innovation-hub.co.za/yaso_meth/mih-project/issues</url>
|
||||
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
|
||||
@@ -1,45 +1,43 @@
|
||||
app-id: za.co.mzansiinnovationhub.mih
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '23.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: mzansi_innovation_hub # Must match your binary name
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '45' # Matches a more modern GNOME stack
|
||||
sdk: org.gnome.Sdk
|
||||
command: mzansi_innovation_hub
|
||||
|
||||
finish-args:
|
||||
# Basic UI permissions
|
||||
- --share=ipc
|
||||
- --socket=fallback-x11
|
||||
- --socket=wayland
|
||||
- --device=dri
|
||||
# Media and Network
|
||||
- --socket=pulseaudio
|
||||
- --share=network
|
||||
# Filesystem (allows app to see its own data)
|
||||
- --talk-name=org.freedesktop.Notifications
|
||||
# Filesystem access for documents
|
||||
- --filesystem=xdg-documents:ro
|
||||
|
||||
modules:
|
||||
- name: mih-app
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
# 1. Create directory structure
|
||||
# Create directory structure
|
||||
- mkdir -p /app/bin /app/share/mih-app /app/share/applications /app/share/metainfo /app/share/icons/hicolor/256x256/apps
|
||||
|
||||
# 2. Install the Flutter binary and its folders (lib/ and data/)
|
||||
# Install everything to the share folder
|
||||
- cp -r * /app/share/mih-app/
|
||||
- chmod +x /app/share/mih-app/mzansi_innovation_hub
|
||||
|
||||
# Link the binary to /app/bin so Flatpak can find it
|
||||
- ln -s /app/share/mih-app/mzansi_innovation_hub /app/bin/mzansi_innovation_hub
|
||||
|
||||
# 3. Install Integration Files
|
||||
# Install Integration Files
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.desktop /app/share/applications/za.co.mzansiinnovationhub.mih.desktop
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.metainfo.xml /app/share/metainfo/za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.png /app/share/icons/hicolor/256x256/apps/za.co.mzansiinnovationhub.mih.png
|
||||
|
||||
sources:
|
||||
# This is your Flutter Linux bundle (.tar.gz)
|
||||
- type: archive
|
||||
url: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih-project/releases/download/V.1.2.6/mzansi_innovation_hub.tar.gz
|
||||
sha256: cd610351f334fccce2d279f3112a5ac21bfa18b39d3c59e2cb0334fe2e8019b3
|
||||
|
||||
# These refer to the local files in your folder
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.desktop
|
||||
- type: file
|
||||
|
||||
Reference in New Issue
Block a user