Skip to content

Commit f930e80

Browse files
committed
feat: add linux build support (x64/arm64)
1 parent e19b68d commit f930e80

5 files changed

Lines changed: 35 additions & 23 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [macos-latest, windows-latest]
21+
os: [macos-latest, windows-latest, ubuntu-latest]
2222
env:
2323
VITE_SYNC_GITHUB_CLIENT_ID: ${{ secrets.VITE_SYNC_GITHUB_CLIENT_ID }}
2424
VITE_SYNC_GOOGLE_CLIENT_ID: ${{ secrets.VITE_SYNC_GOOGLE_CLIENT_ID }}
@@ -58,6 +58,12 @@ jobs:
5858
ELECTRON_BUILDER_PUBLISH: "never"
5959
run: npm run pack:win
6060

61+
- name: Build package (Linux)
62+
if: matrix.os == 'ubuntu-latest'
63+
env:
64+
ELECTRON_BUILDER_PUBLISH: "never"
65+
run: npm run pack:linux
66+
6167
- name: Upload artifacts
6268
uses: actions/upload-artifact@v4
6369
with:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<p align="center">
1717
<a href="https://github.com/binaricat/Netcatty/releases/latest"><img alt="GitHub Release" src="https://img.shields.io/github/v/release/binaricat/Netcatty?style=for-the-badge&logo=github&label=Release"></a>
1818
&nbsp;
19-
<a href="#"><img alt="Platform" src="https://img.shields.io/badge/Platform-macOS%20%7C%20Windows-blue?style=for-the-badge&logo=electron"></a>
19+
<a href="#"><img alt="Platform" src="https://img.shields.io/badge/Platform-macOS%20%7C%20Windows%20%7C%20Linux-blue?style=for-the-badge&logo=electron"></a>
2020
&nbsp;
2121
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/License-GPL--3.0-green?style=for-the-badge"></a>
2222
</p>
@@ -67,7 +67,7 @@
6767
<a name="what-is-netcatty"></a>
6868
# What is Netcatty
6969

70-
**Netcatty** is a modern SSH client and terminal manager for macOS and Windows, designed for developers, sysadmins, and DevOps engineers who need to manage multiple remote servers efficiently.
70+
**Netcatty** is a modern SSH client and terminal manager for macOS, Windows, and Linux, designed for developers, sysadmins, and DevOps engineers who need to manage multiple remote servers efficiently.
7171

7272
- **Netcatty is** an alternative to PuTTY, Termius, SecureCRT, and macOS Terminal.app for SSH connections
7373
- **Netcatty is** a powerful SFTP client with dual-pane file browser
@@ -279,7 +279,7 @@ Or browse all releases at [GitHub Releases](https://github.com/binaricat/Netcatt
279279
280280
### Prerequisites
281281
- Node.js 18+ and npm
282-
- macOS or Windows 10+
282+
- macOS, Windows 10+, or Linux
283283
284284
### Development
285285
@@ -329,6 +329,7 @@ npm run pack
329329
# Package for specific platforms
330330
npm run pack:mac # macOS (DMG + ZIP)
331331
npm run pack:win # Windows (NSIS installer)
332+
npm run pack:linux # Linux (AppImage + DEB + RPM)
332333
```
333334

334335
---

electron-builder.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@
6767
"target": [
6868
{
6969
"target": "AppImage",
70-
"arch": ["x64"]
70+
"arch": ["x64", "arm64"]
7171
},
7272
{
7373
"target": "deb",
74-
"arch": ["x64"]
74+
"arch": ["x64", "arm64"]
7575
},
7676
{
77-
"target": "dir",
78-
"arch": ["x64"]
77+
"target": "rpm",
78+
"arch": ["x64", "arm64"]
7979
}
8080
],
8181
"category": "Development"

package-lock.json

Lines changed: 18 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "netcatty",
33
"description": "Netcatty is a modern SSH manager and terminal app with host grouping, SFTP, keychain, port forwarding, and a rich UI.",
4+
"homepage": "https://github.com/binaricat/Netcatty",
45
"private": true,
56
"version": "0.0.0",
67
"type": "module",
7-
"author": "binaricat",
8+
"author": "binaricat <support@netcatty.com>",
89
"license": "GPL-3.0-or-later",
910
"main": "electron/main.cjs",
1011
"scripts": {

0 commit comments

Comments
 (0)