Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Commit 1f44434

Browse files
committed
# Conflicts: # .github/workflows/build.yml
2 parents c3d50d0 + d392375 commit 1f44434

File tree

3 files changed

+15
-19
lines changed

3 files changed

+15
-19
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,16 @@
1-
# 此工作流的名字
21
name: Build
3-
# 工作流的执行时机,可以设定为定时执行,每次push后执行,手动执行等
42
on:
5-
# workflow_dispatch为在Github仓库的Actions面板中手动执行
63
workflow_dispatch:
7-
# 工作/任务,这里的工作是可以并行的。
84
jobs:
9-
# 工作的名称“编译windows版”
105
buildwin:
11-
# 运行的操作系统 windows server 2022
126
runs-on: windows-2022
13-
# 步骤
147
steps:
15-
# 使用预制action:拉取最新的代码
168
- uses: actions/checkout@v2
17-
# 步骤一的名称:
189
- name: Install and Build
19-
# 该步骤运行的终端命令,进入仓库的src目录,安装依赖,运行编译命令
2010
run:
2111
npm install && npm run build
22-
# 步骤二的名称:将编译后的结果上传
2312
- name: Upload File
24-
# 使用预制action:上传文件,可以将执行路径打包成zip上传
2513
uses: actions/upload-artifact@v2
2614
with:
27-
# 上传后文件的名称
2815
name: windows
29-
# 打包的路径以及文件过滤,此为仅打包dist目录下的exe文件
30-
path: dist/*exe
16+
path: dist_electron/*exe

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
<img src="https://img.shields.io/badge/vditor-%5E3.8.10-blue"/>
1212
</div>
1313

14-
### 0.4.0
15-
![image](https://user-images.githubusercontent.com/33891067/175295705-6f3b309d-852e-4ac1-bd20-8eb7211b1851.png)
14+
## [0.5.1](https://github.com/heiyehk/electron-vue3-inote/compare/0.4.1...0.5.1) (2023-01-07)
1615

1716

18-
### Windows10
17+
### Features
18+
19+
* 对编辑器的优化,增加右键功能以及本地图片的缓存,修复了部分bug ([c1c0c0f](https://github.com/heiyehk/electron-vue3-inote/commit/c1c0c0f676a29adce8dc46582f17f550d0c079ce))
20+
![image](https://user-images.githubusercontent.com/33891067/211135039-eb778337-2249-4442-b050-32cc6ee77814.png)
21+
22+
### Windows
1923
<img width="50%" src="https://user-images.githubusercontent.com/33891067/126118222-c8c39a33-d5a7-4b72-9f4c-b633a1eb2201.png" />
2024

2125
### Mac
@@ -38,6 +42,9 @@ https://juejin.cn/post/6909723449246089224
3842
【electron+vue3+ts实战便笺exe】二、electron+vue3开发内容
3943
https://juejin.cn/post/6909725365107687431
4044

45+
【electron+vue3+ts实战便笺exe】终章:markdown编辑器以及右键功能实现
46+
https://juejin.cn/post/7187704994731130938
47+
4148
![gif](https://user-images.githubusercontent.com/33891067/126119851-b59a0acb-07b4-4126-9698-961ee0f706a7.gif)
4249

4350
```

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "i-notes",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"private": true,
55
"author": "heiyehk",
66
"description": "I便笺拥有漂亮的过度效果,允许开启多个窗口方便在桌面端更方便的记录文字",
@@ -79,6 +79,9 @@
7979
"path": "cz-conventional-changelog"
8080
}
8181
},
82+
"gitHooks": {
83+
"pre-commit": "lint-staged"
84+
},
8285
"lint-staged": {
8386
"*.{js,jsx,vue,ts,tsx}": [
8487
"vue-cli-service lint",

0 commit comments

Comments
 (0)