refactor: update project metadata and remove arm64 support from build process

This commit is contained in:
2026-02-24 22:29:20 +11:00
parent f0428b7bfc
commit 796659318e
4 changed files with 24 additions and 78 deletions

View File

@@ -106,12 +106,6 @@ jobs:
name: Paarrot-Setup-x64.exe name: Paarrot-Setup-x64.exe
path: dist-electron/squirrel-windows/Paarrot-*-win-x64.exe path: dist-electron/squirrel-windows/Paarrot-*-win-x64.exe
- name: Upload Squirrel Setup (arm64)
uses: actions/upload-artifact@v3
with:
name: Paarrot-Setup-arm64.exe
path: dist-electron/squirrel-windows-arm64/Paarrot-*-win-arm64.exe
- name: List build output - name: List build output
shell: powershell shell: powershell
run: | run: |
@@ -121,41 +115,23 @@ jobs:
shell: powershell shell: powershell
run: | run: |
if (Test-Path "dist-electron/squirrel-windows/RELEASES") { if (Test-Path "dist-electron/squirrel-windows/RELEASES") {
Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES-x64" Copy-Item "dist-electron/squirrel-windows/RELEASES" -Destination "dist-electron/RELEASES"
} else { } else {
Write-Error "RELEASES file not found for x64" Write-Error "RELEASES file not found for x64"
exit 1 exit 1
} }
if (Test-Path "dist-electron/squirrel-windows-arm64/RELEASES") {
Copy-Item "dist-electron/squirrel-windows-arm64/RELEASES" -Destination "dist-electron/RELEASES-arm64"
} else {
Write-Error "RELEASES file not found for arm64"
exit 1
}
- name: Upload Squirrel RELEASES (x64) - name: Upload Squirrel RELEASES
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: RELEASES-x64 name: RELEASES
path: dist-electron/RELEASES-x64 path: dist-electron/RELEASES
- name: Upload Squirrel RELEASES (arm64)
uses: actions/upload-artifact@v3
with:
name: RELEASES-arm64
path: dist-electron/RELEASES-arm64
- name: Upload Squirrel nupkg (x64) - name: Upload Squirrel nupkg (x64)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Paarrot-x64.nupkg name: Paarrot-x64.nupkg
path: dist-electron/squirrel-windows/*.nupkg path: dist-electron/squirrel-windows/*.nupkg
- name: Upload Squirrel nupkg (arm64)
uses: actions/upload-artifact@v3
with:
name: Paarrot-arm64.nupkg
path: dist-electron/squirrel-windows-arm64/*.nupkg
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -178,11 +154,6 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y rpm
- name: Install dependencies (root) - name: Install dependencies (root)
run: npm ci --prefer-offline run: npm ci --prefer-offline
@@ -204,24 +175,6 @@ jobs:
with: with:
name: Paarrot-Linux-x64.AppImage name: Paarrot-Linux-x64.AppImage
path: dist-electron/Paarrot-*.AppImage path: dist-electron/Paarrot-*.AppImage
- name: Upload DEB package
uses: actions/upload-artifact@v3
with:
name: Paarrot-Linux-x64.deb
path: dist-electron/Paarrot-*-linux-amd64.deb
- name: Upload RPM package
uses: actions/upload-artifact@v3
with:
name: Paarrot-Linux-x64.rpm
path: dist-electron/Paarrot-*-linux-x86_64.rpm
- name: Upload Linux update metadata
uses: actions/upload-artifact@v3
with:
name: latest-linux.yml
path: dist-electron/latest-linux.yml
create-release: create-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -279,7 +232,7 @@ jobs:
- name: Prepare release files - name: Prepare release files
run: | run: |
mkdir -p release-files mkdir -p release-files
find artifacts -type f \( -name "*.exe" -o -name "*.AppImage" -o -name "*.deb" -o -name "*.rpm" -o -name "*.dmg" -o -name "*.zip" -o -name "*.yml" -o -name "*.nupkg" -o -name "RELEASES*" \) -exec cp {} release-files/ \; find artifacts -type f \( -name "*.exe" -o -name "*.AppImage" -o -name "*.nupkg" -o -name "RELEASES*" \) -exec cp {} release-files/ \;
ls -la release-files/ ls -la release-files/
- name: Create or Update Release - name: Create or Update Release

View File

@@ -1,24 +1,24 @@
# Cinny desktop # Paarrot
<a href="https://github.com/cinnyapp/cinny-desktop/releases"> Paarrot is a Matrix client focusing primarily on simple, elegant and secure interface. The desktop app is built with Electron and based on Cinny.
<img alt="GitHub release downloads" src="https://img.shields.io/github/downloads/cinnyapp/cinny-desktop/total?style=social"></a>
Cinny is a matrix client focusing primarily on simple, elegant and secure interface. The desktop app is built with Electron.
## Download ## Download
Installers for macOS, Windows and Linux can be downloaded from [releases](https://github.com/cinnyapp/cinny-desktop/releases). Installers for Windows and Linux can be downloaded from [releases](http://synbox.ruv.wtf:8418/litruv/cinny-desktop/releases).
Operating System | Download Operating System | Download
---|--- ---|---
Windows | <a href='https://github.com/cinnyapp/cinny-desktop/releases/latest'>Get it on Windows</a> Windows (x64) | <a href='http://synbox.ruv.wtf:8418/litruv/cinny-desktop/releases'>Get it on Windows</a>
macOS | <a href='https://github.com/cinnyapp/cinny-desktop/releases/latest'>Get it on macOS</a> Linux (AppImage) | <a href='http://synbox.ruv.wtf:8418/litruv/cinny-desktop/releases'>Get it on Linux</a>
Linux | <a href='https://github.com/cinnyapp/cinny-desktop/releases/latest'>Get it on Linux</a>
### Linux Installation
For the best AppImage experience, we recommend using [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher) which automatically integrates AppImages into your system.
## Local development ## Local development
To setup development locally run the following commands: To setup development locally run the following commands:
* `git clone --recursive https://github.com/cinnyapp/cinny-desktop.git` * `git clone --recursive http://synbox.ruv.wtf:8418/litruv/cinny-desktop.git`
* `cd cinny-desktop/cinny` * `cd cinny-desktop/cinny`
* `npm ci` * `npm ci`
* `cd ..` * `cd ..`

View File

@@ -2,7 +2,7 @@
"appId": "com.paarrot.app", "appId": "com.paarrot.app",
"productName": "Paarrot", "productName": "Paarrot",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}", "artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"copyright": "Copyright © 2024", "copyright": "Copyright © 2026 Mates.Media",
"directories": { "directories": {
"output": "dist-electron", "output": "dist-electron",
"buildResources": "build-resources" "buildResources": "build-resources"
@@ -35,18 +35,10 @@
{ {
"target": "AppImage", "target": "AppImage",
"arch": ["x64"] "arch": ["x64"]
},
{
"target": "deb",
"arch": ["x64"]
},
{
"target": "rpm",
"arch": ["x64"]
} }
], ],
"category": "Network;InstantMessaging", "category": "Network;InstantMessaging",
"maintainer": "Paarrot <paarrot@users.noreply.github.com>", "maintainer": "Mates.Media <mates.media@users.noreply.github.com>",
"icon": "icons/icon.png", "icon": "icons/icon.png",
"desktop": { "desktop": {
"entry": { "entry": {
@@ -81,16 +73,17 @@
"target": [ "target": [
{ {
"target": "squirrel", "target": "squirrel",
"arch": ["x64", "arm64"] "arch": ["x64"]
} }
], ],
"icon": "icons/icon.ico", "icon": "icons/icon.ico",
"publisherName": "Mates.Media",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}" "artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
}, },
"squirrelWindows": { "squirrelWindows": {
"name": "Paarrot", "name": "Paarrot",
"loadingGif": "icons/icon.png", "loadingGif": "icons/icon.png",
"iconUrl": "https://raw.githubusercontent.com/cinnyapp/cinny-desktop/master/icons/icon.ico", "iconUrl": "http://synbox.ruv.wtf:8418/litruv/cinny-desktop/raw/branch/main/icons/icon.ico",
"remoteReleases": false, "remoteReleases": false,
"useAppIdAsId": true "useAppIdAsId": true
}, },

View File

@@ -1,8 +1,8 @@
{ {
"name": "paarrot", "name": "paarrot",
"version": "4.11.23", "version": "4.11.23",
"description": "Yet another matrix client", "description": "Paarrot - A Matrix client based on Cinny",
"homepage": "https://github.com/ajbura/cinny", "homepage": "http://synbox.ruv.wtf:8418/litruv/cinny-desktop",
"main": "electron/main.js", "main": "electron/main.js",
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=18.0.0"
@@ -18,8 +18,8 @@
}, },
"keywords": [], "keywords": [],
"author": { "author": {
"name": "Ajay Bura", "name": "Mates.Media",
"email": "AjayBura@users.noreply.github.com" "email": "mates.media@users.noreply.github.com"
}, },
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"dependencies": { "dependencies": {