Compare commits
14 Commits
707b49c088
...
linux
| Author | SHA1 | Date | |
|---|---|---|---|
| fd4c34c59d | |||
| 5e003a4d71 | |||
| dca595bf60 | |||
| fcf1bbbb15 | |||
| 8a0c0d7dba | |||
| ff7f363983 | |||
| a54f1c61ae | |||
| 843997e58c | |||
| cbe70e2e44 | |||
| 3778ebb261 | |||
| c911e88453 | |||
| b1487839a7 | |||
| 518dd1300e | |||
| 221030eff3 |
@@ -102,7 +102,7 @@ class _MihPackageState extends State<MihPackage>
|
|||||||
// _peakAnimation();
|
// _peakAnimation();
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
if (!kIsWeb && Platform.isAndroid || Platform.isIOS) {
|
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS)) {
|
||||||
// Trigger the peak animation only AFTER the route transition is complete
|
// Trigger the peak animation only AFTER the route transition is complete
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
final ModalRoute? currentRoute = ModalRoute.of(context);
|
final ModalRoute? currentRoute = ModalRoute.of(context);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:mzansi_innovation_hub/main.dart';
|
import 'package:mzansi_innovation_hub/main.dart';
|
||||||
import 'package:mzansi_innovation_hub/mih_package_components/mih_banner_ad.dart';
|
import 'package:mzansi_innovation_hub/mih_package_components/mih_banner_ad.dart';
|
||||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
|
|||||||
|
|
||||||
# The name of the executable created for the application. Change this to change
|
# The name of the executable created for the application. Change this to change
|
||||||
# the on-disk name of your application.
|
# the on-disk name of your application.
|
||||||
set(BINARY_NAME "patient_manager")
|
set(BINARY_NAME "mzansi_innovation_hub")
|
||||||
# The unique GTK application identifier for this application. See:
|
# The unique GTK application identifier for this application. See:
|
||||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||||
set(APPLICATION_ID "com.example.patient_manager")
|
set(APPLICATION_ID "za.co.mzansiinnovationhub.mih")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|||||||
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 |
11
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.desktop
Normal file
11
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.desktop
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[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;
|
||||||
|
Keywords=Mzansi;Innovation;Hub;App;
|
||||||
|
StartupWMClass=mzansi_innovation_hub
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
<?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>
|
||||||
|
<developer_name>Mzansi Innovation Hub</developer_name>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
<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 |
46
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.yml
Normal file
46
mih_ui/mih_app_flatpak/za.co.mzansiinnovationhub.mih.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
app-id: za.co.mzansiinnovationhub.mih
|
||||||
|
runtime: org.gnome.Platform
|
||||||
|
runtime-version: '49' # Matches a more modern GNOME stack
|
||||||
|
sdk: org.gnome.Sdk
|
||||||
|
command: mzansi_innovation_hub
|
||||||
|
|
||||||
|
finish-args:
|
||||||
|
- --share=ipc
|
||||||
|
- --socket=fallback-x11
|
||||||
|
- --socket=wayland
|
||||||
|
- --device=dri
|
||||||
|
- --socket=pulseaudio
|
||||||
|
- --share=network
|
||||||
|
- --talk-name=org.freedesktop.Notifications
|
||||||
|
# Filesystem access for documents
|
||||||
|
- --filesystem=xdg-documents:ro
|
||||||
|
|
||||||
|
modules:
|
||||||
|
- name: mih-app
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
# Create directory structure
|
||||||
|
- mkdir -p /app/bin /app/share/mih-app /app/share/applications /app/share/metainfo /app/share/icons/hicolor/256x256/apps
|
||||||
|
|
||||||
|
# Install everything to the share folder
|
||||||
|
- cp -r * /app/share/mih-app/
|
||||||
|
- find /app/share/mih-app -name "mzansi_innovation_hub" -exec chmod +x {} +
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
- 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
|
||||||
|
- 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