Skip to content

Commit 7d7520a

Browse files
committed
Merge branch 'develop'
2 parents 54c44a2 + 14921a1 commit 7d7520a

File tree

25 files changed

+807
-301
lines changed

25 files changed

+807
-301
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
chmod +x ./build/fnpack-1.2.0-darwin-arm64
7575
./build/fnpack-1.2.0-darwin-arm64 build app
7676
- name: Rename x86 package
77-
run: mv code.editor.fpk code.editor.x86.fpk
77+
run: mv code.editor.fpk code.editor.${{ steps.read_version.outputs.version}}.x86.fpk
7878

7979
# 打包 arm 文件
8080
- name: Build arm backend
@@ -87,7 +87,7 @@ jobs:
8787
chmod +x ./build/fnpack-1.2.0-darwin-arm64
8888
./build/fnpack-1.2.0-darwin-arm64 build app
8989
- name: Rename arm package
90-
run: mv code.editor.fpk code.editor.arm.fpk
90+
run: mv code.editor.fpk code.editor.${{ steps.read_version.outputs.version}}.arm.fpk
9191

9292
# 发布文件
9393
- name: Release
@@ -96,7 +96,7 @@ jobs:
9696
tag: v${{ steps.read_version.outputs.version}}
9797
name: v${{ steps.read_version.outputs.version}}
9898
bodyFile: RELEASE.md
99-
artifacts: "code.editor.x86.fpk,code.editor.arm.fpk"
99+
artifacts: "code.editor.${{ steps.read_version.outputs.version}}.x86.fpk,code.editor.${{ steps.read_version.outputs.version}}.arm.fpk"
100100
token: ${{ secrets.GITHUB_TOKEN }}
101101

102102
# 查看所有文件

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 更新日志
22

3+
## 1.5.4
4+
5+
- 新增:目录支持上传文件,顶级目录同样可操作
6+
- 新增:偏好设置支持关闭保存成功的提示
7+
38
## 1.5.3
49

510
- 新增:文件加载时简单支持匹配编码,同时添加了对应的偏好设置,具体[请查阅](https://github.com/FNOSP/App.Bin.CodeEditor/issues/4)

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## 应用说明
1212

13-
VS Code 同源库,支持多种编码文件的操作,更有语法高亮、代码补全
13+
支持多种文件编码,更有语法高亮、代码提示、文件快照、目录管理、多图预览、PDF 预览、Markdown 预览等丰富功能
1414

1515
[更新日志](CHANGELOG.md)
1616

@@ -35,16 +35,10 @@ npm run install
3535
npm run build
3636
```
3737

38-
## CGI 模式说明
39-
40-
- 服务端:服务端将接口和 node 环境,通过 pkg 打包成 linux 运行文件,在飞牛以 cgi 的方式进行调用和返回。
41-
- 客户端:vite 打包后,将引入文件通过服务端 api 加载
42-
4338
## 鸣谢
4439

45-
感谢以下开源项目
40+
文件的查阅和编辑功能基于以下开源项目进行实现,特别感谢有这些好用的开源项目
4641

47-
- [monaco-editor](https://github.com/microsoft/monaco-editor)
48-
- [monaco-editor-vue3](https://github.com/bazingaedward/monaco-editor-vue3)
49-
- [pdfjs](https://github.com/mozilla/pdf.js)
50-
- [marked](https://github.com/markedjs/marked)
42+
- 代码编辑:[monaco-editor](https://github.com/microsoft/monaco-editor)[monaco-editor-vue3](https://github.com/bazingaedward/monaco-editor-vue3)
43+
- PDF 阅览:[pdfjs](https://github.com/mozilla/pdf.js)
44+
- Markdown 阅览:[marked](https://github.com/markedjs/marked)

app/manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
appname=code.editor
22
version=0.0.1
33
changelog=changelog
4-
desc=`<div>支持多种文件编码,更有语法高亮、代码提示、文件快照、目录管理、多图预览、PDF预览、Markdown预览等丰富功能。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开,<a href="https://club.fnnas.com/forum.php?mod=viewthread&tid=42587" target="_blank">点此查看详细操作指南</a>。</div><div>程序已开源,欢迎 Star,欢迎 <a href="https://github.com/FNOSP/App.Bin.CodeEditor/issues" target="_blank">Issues</a></div><div>提示:移动端暂未做 UI 适配,访问可能布局错乱。</div>`
4+
desc=`<div>支持多种文件编码,更有语法高亮、代码提示、文件快照、目录管理、多图预览、PDF 预览、Markdown 预览等丰富功能。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开,<a href="https://club.fnnas.com/forum.php?mod=viewthread&tid=42587" target="_blank">点此查看详细操作指南</a>。</div><div>程序已开源,欢迎 Star,欢迎 <a href="https://github.com/FNOSP/App.Bin.CodeEditor/issues" target="_blank">Issues</a></div><div>提示:移动端暂未做 UI 适配,访问可能布局错乱。</div>`
55
platform=x86
66
display_name=代码编辑器
77
maintainer=Flex_7746

backend/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
"build": "pkg -t node18-linux-x64 ./src/cgi.js --output ../app/app/server/api",
66
"build:arm": "pkg -t node18-linux-arm64 ./src/cgi.js --output ../app/app/server/api"
77
},
8-
"dependencies": {
8+
"dependencies": {},
9+
"devDependencies": {
910
"@koa/cors": "^5.0.0",
10-
"iconv-lite": "^0.7.1",
1111
"koa": "^3.1.1",
12-
"koa-bodyparser": "^4.4.1"
13-
},
14-
"devDependencies": {
12+
"koa-body": "^7.0.1",
1513
"pkg": "^5.8.1"
1614
}
1715
}

0 commit comments

Comments
 (0)