Compare commits

...

1 Commits

Author SHA1 Message Date
Ivan
6b3713e58f flatpak 2025-05-11 14:56:33 -05:00
6 changed files with 63 additions and 5 deletions

View File

@@ -109,6 +109,12 @@ jobs:
- name: Build Electron App
run: npm run dist
- name: Upload Flatpak Artifact
uses: actions/upload-artifact@v3
with:
name: flatpak
path: dist/*.flatpak
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1

View File

@@ -1,4 +1,6 @@
# Ivans Fork Edition
# Ivans Custom Fork Edition
highly experimental and customized, only use if you live on the edge.
## Changes
@@ -10,6 +12,7 @@
- Dark mode by default.
- Python 3.13 and Node 20.
- Ruff formatting and fixes.
- Flatpak support. (WIP)
## Security

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Name=Reticulum MeshChat
Comment=Decentralized chat over Reticulum networks
Exec=reticulum-meshchat
Icon=icon
Terminal=false
Type=Application
Categories=Network;Chat;

View File

@@ -0,0 +1,28 @@
{
"app-id": "com.liamcottle.reticulummeshchat",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"command": "reticulum-meshchat",
"finish-args": [
"--share=network",
"--socket=x11",
"--socket=wayland",
"--device=all"
],
"modules": [
{
"name": "reticulum-meshchat",
"buildsystem": "simple",
"build-commands": [
"install -Dm755 dist/ReticulumMeshChat-v$FLATPAK_APP_VERSION-linux.AppImage /app/bin/reticulum-meshchat"
],
"sources": [
{
"type": "file",
"path": "dist/ReticulumMeshChat-v$FLATPAK_APP_VERSION-linux.AppImage"
}
]
}
]
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "reticulum-meshchat",
"version": "1.22.2",
"version": "1.23.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "reticulum-meshchat",
"version": "1.22.2",
"version": "1.23.1",
"license": "MIT",
"dependencies": {
"@mdi/js": "^7.4.47",

View File

@@ -1,6 +1,6 @@
{
"name": "reticulum-meshchat",
"version": "1.22.2",
"version": "1.23.1",
"description": "",
"main": "electron/main.js",
"scripts": {
@@ -70,7 +70,12 @@
},
"linux": {
"artifactName": "ReticulumMeshChat-v${version}-${os}.${ext}",
"target": "AppImage",
"target": [
"AppImage",
"flatpak"
],
"category": "Network",
"icon": "electron/build/icon.png",
"extraFiles": [
{
"from": "build/exe",
@@ -91,6 +96,14 @@
"artifactName": "ReticulumMeshChat-v${version}-${os}-installer.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"flatpak": {
"finish-args": [
"--share=network",
"--socket=x11",
"--socket=wayland",
"--device=all"
]
}
},
"dependencies": {