feat: add deb packaging and Gitea Actions automated release workflow
Build and Release / Build & Release DEB Package (push) Failing after 1m16s

This commit is contained in:
2026-09-23 01:42:52 +08:00
parent bde1a6b250
commit 30b7993d24
13 changed files with 3349 additions and 11 deletions
+38 -5
View File
@@ -5,11 +5,43 @@
"main": "src/main/index.cjs",
"scripts": {
"start": "electron .",
"rebuild": "electron-rebuild -f -w node-pty"
"rebuild": "electron-rebuild -f -w node-pty",
"package:deb": "electron-builder --linux deb",
"package:all": "electron-builder --linux deb AppImage",
"dist": "electron-builder"
},
"keywords": [],
"author": "",
"license": "ISC",
"build": {
"appId": "cloud.zzzjy.hatty",
"productName": "hatty",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"src/**/*",
"node_modules/@xterm/**/*",
"node_modules/node-pty/**/*",
"package.json"
],
"linux": {
"target": [
"deb"
],
"category": "TerminalEmulator",
"maintainer": "zzzjy <zjy@zzzjy.cloud>",
"icon": "build/icons"
},
"deb": {
"packageName": "hatty",
"synopsis": "A modern, high-aesthetic Linux terminal emulator",
"description": "hatty is a fast, beautiful and modern terminal emulator for Linux built with Electron, WebGL and node-pty.",
"category": "Utility",
"priority": "optional"
}
},
"homepage": "https://git.zzzjy.cloud/zzzjy/hatty",
"author": "zzzjy <zjy@zzzjy.cloud>",
"license": "MIT",
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0",
@@ -21,6 +53,7 @@
},
"devDependencies": {
"@electron/rebuild": "^4.2.0",
"electron": "^44.4.3"
"electron": "^44.4.3",
"electron-builder": "^26.15.3"
}
}