Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@ jobs:
- run: "npm ci"
- run: "npm run build"
- run: "npm run test"
- run: "npm run package-linux"
- run: "npm run package-appimage"
ubuntu_package_deb:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v5"
- name: "Build Debian Package"
uses: "actions/setup-node@v4"
with:
node-version: "22.x"
cache: "npm"
- run: "npm ci"
- run: "npm run build"
- run: "npm run package-deb"
check_nix:
runs-on: "ubuntu-latest"
steps:
Expand Down
13 changes: 9 additions & 4 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ files:
- "!**/*.js.map"
directories:
output: "./bin/${platform}/${arch}/"
appImage:
artifactName: "fluentflame-reader-${arch}-${version}.AppImage"
mac:
darkModeSupport: true
target:
Expand Down Expand Up @@ -36,8 +38,8 @@ win:
- zip
appx:
applicationId: FluentflameReader
identityName: TODO.FluentflameReader
publisher: TODO
identityName: FluentFlame.FluentflameReader
publisher: FluentFlame
backgroundColor: transparent
languages:
- zh-CN
Expand Down Expand Up @@ -65,11 +67,14 @@ nsis:
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: true
linux:
description: "A modern desktop RSS reader given new life"
target:
- AppImage
- Dir
- deb
- dir
- tar.xz
icon: icons
category: Utility
category: Network;Feed
desktop:
entry:
StartupWMClass: fluentflame-reader
5 changes: 5 additions & 0 deletions nix/fhs_shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
pango
udev

libxcrypt-legacy # For 'libcrypt.so.1' for deb packaging
binutils # For ruby deb packaging, needs 'ar'
rpm # For RPM packaging
flatpak-builder # For flatpak building

appimage-run # For appimage running (not building)
])
++ (with pkgs.xorg; [
Expand Down
29 changes: 26 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fluentflame-reader",
"version": "1.1.4",
"description": "Modern desktop RSS reader",
"description": "A modern desktop RSS reader given new life",
"main": "./dist/electron.js",
"scripts": {
"build": "webpack --config ./webpack.config.js",
Expand All @@ -14,10 +14,33 @@
"package-mac": "electron-builder --mac --x64",
"package-mas": "bash build/resignAndPackage.sh",
"package-linux": "electron-builder --linux --x64 -p never",
"package-tarball": "electron-builder --linux tar.xz --x64 -p never",
"package-appimage": "electron-builder --linux AppImage --x64 -p never",
"package-deb": "electron-builder --linux --x64 -p never",
"test": "mocha tests/**/*.ts"
},
"keywords": [],
"author": "Fluentflame contributors & Haoyuan Liu",
"keywords": ["rss", "atom", "rss reader"],
"author": {
"name": "Crystal",
"email": "crystal@crystalwobsite.gay",
"url": "https://crystalwobsite.gay"
},
"contributors": [
{
"name": "Crystal",
"email": "crystal@crystalwobsite.gay",
"url": "https://crystalwobsite.gay"
},
{
"name": "Nube",
"email": "nubesu@tuta.io",
"url": "https://nube.codeberg.page"
},
{
"name": "Haoyuan Liu",
"email": "hy.liu@berkeley.edu"
}
],
"license": "BSD-3-Clause",
"repository": "github:FluentFlame/fluentflame-reader",
"devDependencies": {
Expand Down
Loading