Compare commits

..

7 Commits

Author SHA1 Message Date
Ivan
fcecf13eb9 bump 2025-05-11 15:07:18 -05:00
Ivan
fb13a58fca install flatpak 2025-05-11 15:05:24 -05:00
Ivan
58eef8d925 bump 2025-05-11 15:02:19 -05:00
Ivan
252407b0c8 fix 2025-05-11 15:01:54 -05:00
Ivan
b6b1a6d050 add retry 2025-05-11 15:01:16 -05:00
Ivan
4fe8b43df1 fix 2025-05-11 14:59:44 -05:00
Ivan
6b3713e58f flatpak 2025-05-11 14:56:33 -05:00
6 changed files with 77 additions and 5 deletions

View File

@@ -4,6 +4,13 @@ on:
push:
tags:
- "*"
workflow_dispatch:
inputs:
retry_failed:
description: 'Retry failed jobs'
required: false
type: boolean
default: false
jobs:
build_windows:
@@ -90,6 +97,13 @@ jobs:
- name: Clone Repo
uses: actions/checkout@v1
- name: Install Flatpak
run: |
sudo apt-get update
sudo apt-get install -y flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08
- name: Install NodeJS
uses: actions/setup-node@v1
with:
@@ -109,6 +123,12 @@ jobs:
- name: Build Electron App
run: npm run dist
- name: Upload Flatpak Artifact
uses: actions/upload-artifact@v4
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.3",
"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": {
"finishArgs": [
"--share=network",
"--socket=x11",
"--socket=wayland",
"--device=all"
]
}
},
"dependencies": {