Merge pull request 'linux flatpak config' (#21) from V.1.2.6 into main
Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.2.6
|
||||
Type=Application
|
||||
Name=MIH App
|
||||
Comment=First Super App of Mzansi
|
||||
Exec=mzansi_innovation_hub
|
||||
Icon=za.co.mzansiinnovationhub.mih
|
||||
Terminal=false
|
||||
Categories=Utility;
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>za.co.mzansiinnovationhub.mih</id>
|
||||
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
|
||||
<name>MIH App</name>
|
||||
<summary>First Super App of Mzansi</summary>
|
||||
|
||||
<description>
|
||||
<p>
|
||||
The Mzansi Innovation Hub (MIH) App is a multipurpose platform designed to
|
||||
empower users with integrated digital services.
|
||||
</p>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">za.co.mzansiinnovationhub.mih.desktop</launchable>
|
||||
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="1.2.6" date="2026-02-25" />
|
||||
</releases>
|
||||
</component>
|
||||
BIN
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.png
Normal file
BIN
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
47
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.yml
Normal file
47
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
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
|
||||
|
||||
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)
|
||||
- --filesystem=xdg-documents:ro
|
||||
|
||||
modules:
|
||||
- name: mih-app
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
# 1. 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/)
|
||||
- cp -r * /app/share/mih-app/
|
||||
- ln -s /app/share/mih-app/mzansi_innovation_hub /app/bin/mzansi_innovation_hub
|
||||
|
||||
# 3. 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
|
||||
path: za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.png
|
||||
Reference in New Issue
Block a user