Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit f699f51

Browse files
committed
fix: add author name
1 parent ab63e43 commit f699f51

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
packages: write
11+
812
jobs:
913
release:
1014
runs-on: ${{ matrix.os }}
@@ -24,6 +28,10 @@ jobs:
2428
with:
2529
node-version: 18
2630

31+
- name: Clean install directories
32+
run: |
33+
rm -rf frontend/node_modules electron/node_modules frontend/dist electron/dist electron/release || true
34+
2735
- name: Install Frontend Dependencies
2836
run: |
2937
cd frontend
@@ -45,6 +53,16 @@ jobs:
4553
git status
4654
echo "Repository info:"
4755
git remote -v
56+
echo "Node version:"
57+
node --version
58+
echo "NPM version:"
59+
npm --version
60+
61+
- name: Install Linux Dependencies
62+
if: matrix.os == 'ubuntu-latest'
63+
run: |
64+
sudo apt-get update
65+
sudo apt-get install -y rpm
4866
4967
- name: Build/Release Electron app
5068
env:
@@ -65,4 +83,4 @@ jobs:
6583
electron/release/*.AppImage
6684
electron/release/*.snap
6785
electron/release/*.deb
68-
electron/release/*.rpm
86+
electron/release/*.rpm

develop_log.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@
216216
- 增加构建调试信息
217217
- 改进Git仓库检出深度
218218
- 启用electron-builder调试模式
219+
- 修复Linux构建问题
220+
- 添加作者和仓库完整信息
221+
- 优化Linux构建配置
222+
- 添加构建权限配置
223+
- 增加构建清理步骤
224+
- 安装Linux构建依赖
219225

220226
2. AI搜索
221227
- 添加AI搜索功能

electron/package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"main": "dist/main.js",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/yourusername/TrackFlow.git"
8+
"url": "git+https://github.com/BryceWG/TrackFlow.git"
9+
},
10+
"author": {
11+
"name": "BryceWG",
12+
"email": "[email protected]"
913
},
1014
"scripts": {
1115
"start": "cross-env NODE_ENV=development electron .",
@@ -54,15 +58,20 @@
5458
"linux": {
5559
"target": ["AppImage", "deb", "rpm"],
5660
"icon": "../icon_512.png",
57-
"category": "Utility"
61+
"category": "Utility",
62+
"artifactName": "${productName}-${version}.${ext}"
5863
},
5964
"publish": {
6065
"provider": "github",
61-
"releaseType": "release"
66+
"releaseType": "release",
67+
"private": false
6268
}
6369
},
64-
"author": "",
6570
"license": "ISC",
71+
"homepage": "https://github.com/BryceWG/TrackFlow#readme",
72+
"bugs": {
73+
"url": "https://github.com/BryceWG/TrackFlow/issues"
74+
},
6675
"devDependencies": {
6776
"@types/node": "^20.11.5",
6877
"concurrently": "^8.2.2",

0 commit comments

Comments
 (0)