mirror of
https://github.com/dk98174003/Meshtastic-Client.git
synced 2026-03-28 17:32:36 +01:00
Add files via upload
This commit is contained in:
BIN
Flatpak/MeshtasticClient.flatpak
Normal file
BIN
Flatpak/MeshtasticClient.flatpak
Normal file
Binary file not shown.
BIN
Flatpak/NotoColorEmoji.ttf
Normal file
BIN
Flatpak/NotoColorEmoji.ttf
Normal file
Binary file not shown.
7
Flatpak/dk.it4home.MeshtasticClient.desktop
Normal file
7
Flatpak/dk.it4home.MeshtasticClient.desktop
Normal file
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Meshtastic Client
|
||||
Exec=meshtastic-client
|
||||
Icon=dk.it4home.MeshtasticClient
|
||||
Type=Application
|
||||
Categories=Network;Utility;
|
||||
|
||||
40
Flatpak/dk.it4home.MeshtasticClient.yaml
Normal file
40
Flatpak/dk.it4home.MeshtasticClient.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
id: dk.it4home.MeshtasticClient
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '24.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: meshtastic-client
|
||||
finish-args:
|
||||
- --share=network
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --socket=pulseaudio
|
||||
- --filesystem=home
|
||||
|
||||
modules:
|
||||
- name: meshtastic-client
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -D meshtastic_client.py /app/bin/meshtastic-client
|
||||
- chmod +x /app/bin/meshtastic-client
|
||||
- pip3 install --prefix=/app --no-build-isolation --no-index --find-links=vendor --ignore-installed vendor/*.whl
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
|
||||
- name: desktop-file
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -D dk.it4home.MeshtasticClient.desktop /app/share/applications/dk.it4home.MeshtasticClient.desktop
|
||||
- install -D icon.png /app/share/icons/hicolor/512x512/apps/dk.it4home.MeshtasticClient.png
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
|
||||
- name: noto-color-emoji
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -D NotoColorEmoji.ttf /app/share/fonts/truetype/NotoColorEmoji.ttf
|
||||
- fc-cache -fv
|
||||
sources:
|
||||
- type: file
|
||||
path: NotoColorEmoji.ttf
|
||||
38
Flatpak/flatbuild.sh
Normal file
38
Flatpak/flatbuild.sh
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
APP_DIR="/home/knud/Desktop/Meshtastic/Meshtastic_client/Flatpak"
|
||||
MANIFEST="dk.it4home.MeshtasticClient.yaml"
|
||||
BUILD_DIR="$APP_DIR/build-dir"
|
||||
|
||||
cd "$APP_DIR"
|
||||
|
||||
echo "=== Ensuring vendor wheels exist (requirements -> vendor/) ==="
|
||||
if [ ! -d "vendor" ] || [ -z "$(ls -A vendor)" ]; then
|
||||
echo "Downloading Python wheels to vendor/ ..."
|
||||
pip download -r requirements.txt -d vendor
|
||||
fi
|
||||
|
||||
echo "=== Installing required Flatpak runtimes (24.08) ==="
|
||||
flatpak install -y flathub org.freedesktop.Platform//24.08
|
||||
flatpak install -y flathub org.freedesktop.Sdk//24.08
|
||||
|
||||
echo "=== Building + installing Flatpak (clean) ==="
|
||||
flatpak-builder --user --force-clean --install "$BUILD_DIR" "$MANIFEST"
|
||||
echo "=== Creating single-file bundle (.flatpak) ==="
|
||||
APP_ID="dk.it4home.MeshtasticClient"
|
||||
BRANCH="master"
|
||||
USER_REPO="$HOME/.local/share/flatpak/repo"
|
||||
BUNDLE_NAME="MeshtasticClient.flatpak"
|
||||
|
||||
flatpak build-bundle "$USER_REPO" "$APP_DIR/$BUNDLE_NAME" "$APP_ID" "$BRANCH"
|
||||
|
||||
echo "Bundle created at: $APP_DIR/$BUNDLE_NAME"
|
||||
|
||||
|
||||
echo "=== Running Meshtastic Client ==="
|
||||
flatpak run dk.it4home.MeshtasticClient
|
||||
|
||||
|
||||
|
||||
|
||||
BIN
Flatpak/icon.png
Normal file
BIN
Flatpak/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 475 KiB |
11
Flatpak/meshtastic-client.desktop
Normal file
11
Flatpak/meshtastic-client.desktop
Normal file
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Meshtastic Client
|
||||
Comment=Meshtastic Desktop Client
|
||||
Exec=meshtastic-client
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=meshtastic
|
||||
Categories=Network;Utility;
|
||||
NoDisplay=false
|
||||
Name[en_US]=meshtastic-client.desktop
|
||||
|
||||
0
Flatpak/meshtastic.ico
Normal file
0
Flatpak/meshtastic.ico
Normal file
BIN
Flatpak/meshtastic.png
Normal file
BIN
Flatpak/meshtastic.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 475 KiB |
1644
Flatpak/meshtastic_client.py
Normal file
1644
Flatpak/meshtastic_client.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user