Skip to content

Commit 16ca780

Browse files
author
zhouning
committed
fix: 修复Windows下载目录无法打开;更新图片压缩完的查看地址直接定位到图片
1 parent 9ab2049 commit 16ca780

File tree

10 files changed

+238
-77
lines changed

10 files changed

+238
-77
lines changed

CHANGELOG.md

Lines changed: 52 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## [0.2.1](https://github.com/snow-sprite/CompressApp/compare/v0.2.0...v0.2.1) (2022-07-25)
2+
3+
4+
### Bug Fixes
5+
6+
* 窗口关闭打开托盘报错 ([39b9463](https://github.com/snow-sprite/CompressApp/commit/39b9463bb4e1ac14f3a1e3d59d773c4245c3f181))
7+
8+
9+
### Features
10+
11+
* no console ([82210df](https://github.com/snow-sprite/CompressApp/commit/82210df8a64c756bdce06b33302e02fb3015ea98))
12+
* 不支持的格式的文件copy到目标对应目录 ([1789009](https://github.com/snow-sprite/CompressApp/commit/178900915eefd561737c05ac1ba53a52ab98c635))
13+
* 打开自动更新开关 ([1c10b08](https://github.com/snow-sprite/CompressApp/commit/1c10b089a0a88c91c25765088350c8e2182f201c))
14+
* 更改错误提示图 ([3c4f772](https://github.com/snow-sprite/CompressApp/commit/3c4f7725122c7792d531f597c879939827c38848))
15+
* 更新demo图例 ([0820d12](https://github.com/snow-sprite/CompressApp/commit/0820d126a8716a75530f4cb977a916c3bae5567c))
16+
* 更新donate ([b8355c9](https://github.com/snow-sprite/CompressApp/commit/b8355c9d19aa778382e6c64e913c1ed9c1a4160c))
17+
* 更新donate ([9dd7737](https://github.com/snow-sprite/CompressApp/commit/9dd7737933103a5df202995b547c1c0fe4c09205))
18+
* 修改提醒&&Settings修改keys ([e6ce76c](https://github.com/snow-sprite/CompressApp/commit/e6ce76cd4532ad0ce5d6d949aa2df0d06bd469f5))
19+
* 修改图标loading显示状态 ([bee24bc](https://github.com/snow-sprite/CompressApp/commit/bee24bccd037d36653e723f406aa22f8616681f2))
20+
* 修改issue模板&增加CHANGELOG日志 ([af10b31](https://github.com/snow-sprite/CompressApp/commit/af10b3176df873493926effb7ca2006526fe61f3))
21+
* 修改updater.js ([1d15c1d](https://github.com/snow-sprite/CompressApp/commit/1d15c1db26f3c083fa1bb238c91165a5a7444795))
22+
23+
24+
125
# [0.2.0](https://github.com/snow-sprite/CompressApp/compare/v0.1.21...v0.2.0) (2020-07-11)
226

327

@@ -14,28 +38,28 @@
1438
### Bug Fixes
1539

1640
* 关闭窗口系统报错 ([ab9fcad](https://github.com/snow-sprite/CompressApp/commit/ab9fcad0d54cb91f9155020cde1f14b77aefdacd))
17-
* 图片原始大小大于M时显示错误 ([adaf536](https://github.com/snow-sprite/CompressApp/commit/adaf5360c16c338327b2e9b7e3612ee1d1e028fb))
1841
* 解决window下目录层级生成问题 ([1b4a442](https://github.com/snow-sprite/CompressApp/commit/1b4a4426486d7945e25f7672754075f45e247857))
42+
* 图片原始大小大于M时显示错误 ([adaf536](https://github.com/snow-sprite/CompressApp/commit/adaf5360c16c338327b2e9b7e3612ee1d1e028fb))
1943

2044

2145
### Features
2246

2347
* 1.完善更新机制 2.better update ui 3.build包名加_ ([37ec087](https://github.com/snow-sprite/CompressApp/commit/37ec087ff971023401d702d6c973f40537ef54df))
24-
* fix trayIcon bugs ([1774e0f](https://github.com/snow-sprite/CompressApp/commit/1774e0faa16f7f26e69484ea36e56706fa560e2f))
25-
* 修改icon ([bdd030e](https://github.com/snow-sprite/CompressApp/commit/bdd030ec196bf050238292cdea190d2cb07a45e9))
26-
* 修改Icon ([6a81517](https://github.com/snow-sprite/CompressApp/commit/6a815179b42f6a61af08c1fafa3eaf45595c9828))
27-
* 修改下载路径 ([168ecaf](https://github.com/snow-sprite/CompressApp/commit/168ecaf3ac7926ca8eec21072b1d8ebe40f7a295))
48+
* 版本号 ([68d2943](https://github.com/snow-sprite/CompressApp/commit/68d2943656054a1177ea721ca743cd4ba2a855a1))
49+
* 更换icon 增加demo图例 ([bd5e11e](https://github.com/snow-sprite/CompressApp/commit/bd5e11e813f62b39c2022ea361e6ba9b38708e49))
50+
* 新Icon ([efb6a53](https://github.com/snow-sprite/CompressApp/commit/efb6a532264d73b37930ca098cb1c0f74f79faf0))
51+
* 修改目录生成规则&&重命名生成文件夹 ([4903b3f](https://github.com/snow-sprite/CompressApp/commit/4903b3f48c13e6dc276dd1fef233e728cdfa7c81))
2852
* 修改文件夹命名(TODO) ([021b0aa](https://github.com/snow-sprite/CompressApp/commit/021b0aa987e6e5c388c460cba7381d1c43f0736f))
53+
* 修改下载路径 ([168ecaf](https://github.com/snow-sprite/CompressApp/commit/168ecaf3ac7926ca8eec21072b1d8ebe40f7a295))
2954
* 修改新文件夹名 ([ac32b58](https://github.com/snow-sprite/CompressApp/commit/ac32b58d4ca500735c5ba04a13673f78a464bf58))
30-
* 修改目录生成规则&&重命名生成文件夹 ([4903b3f](https://github.com/snow-sprite/CompressApp/commit/4903b3f48c13e6dc276dd1fef233e728cdfa7c81))
31-
* 增加托盘的右击打开界面 ([fc2cc71](https://github.com/snow-sprite/CompressApp/commit/fc2cc71cd848e238a96eefa54001657d669897b5))
55+
* 修改icon ([bdd030e](https://github.com/snow-sprite/CompressApp/commit/bdd030ec196bf050238292cdea190d2cb07a45e9))
56+
* 修改Icon ([6a81517](https://github.com/snow-sprite/CompressApp/commit/6a815179b42f6a61af08c1fafa3eaf45595c9828))
3257
* 增加更新信息提示 ([abd987d](https://github.com/snow-sprite/CompressApp/commit/abd987da5678dc9f46eb0c63d791696c1a493ffb))
33-
* 新Icon ([efb6a53](https://github.com/snow-sprite/CompressApp/commit/efb6a532264d73b37930ca098cb1c0f74f79faf0))
34-
* 更换icon 增加demo图例 ([bd5e11e](https://github.com/snow-sprite/CompressApp/commit/bd5e11e813f62b39c2022ea361e6ba9b38708e49))
58+
* 增加托盘的右击打开界面 ([fc2cc71](https://github.com/snow-sprite/CompressApp/commit/fc2cc71cd848e238a96eefa54001657d669897b5))
59+
* 重写目标目录(TODO) ([4ae2216](https://github.com/snow-sprite/CompressApp/commit/4ae22164e21ab97efbd4a1c38d80418f0bdcf714))
3560
* 注释 ([9ce536c](https://github.com/snow-sprite/CompressApp/commit/9ce536c378b9376007bed4c2d33298345fdf0379))
36-
* 版本号 ([68d2943](https://github.com/snow-sprite/CompressApp/commit/68d2943656054a1177ea721ca743cd4ba2a855a1))
3761
* 自动更新(Done: 60%) ([f7ea17b](https://github.com/snow-sprite/CompressApp/commit/f7ea17b583599fb58b4043054e90d200183884d5))
38-
* 重写目标目录(TODO) ([4ae2216](https://github.com/snow-sprite/CompressApp/commit/4ae22164e21ab97efbd4a1c38d80418f0bdcf714))
62+
* fix trayIcon bugs ([1774e0f](https://github.com/snow-sprite/CompressApp/commit/1774e0faa16f7f26e69484ea36e56706fa560e2f))
3963

4064

4165

@@ -99,8 +123,8 @@
99123

100124
### Bug Fixes
101125

102-
* online & settings bugs ([b896164](https://github.com/snow-sprite/CompressApp/commit/b8961642a8329e4b8515b41475b1cca2f8024e89))
103126
* 解决err报错,修复online页css ([37d6079](https://github.com/snow-sprite/CompressApp/commit/37d607990329dfec2931c73c9ae1fe4e419044dd))
127+
* online & settings bugs ([b896164](https://github.com/snow-sprite/CompressApp/commit/b8961642a8329e4b8515b41475b1cca2f8024e89))
104128

105129

106130

@@ -163,15 +187,15 @@
163187

164188
### Bug Fixes
165189

166-
* 修改验证tinyapi401以后不杀进程 ([ee7d956](https://github.com/snow-sprite/CompressApp/commit/ee7d9566fa13cf7570ee565756284df5d401b6a5))
167190
* 生成的文件目录对应原文件夹 ([75a7f9a](https://github.com/snow-sprite/CompressApp/commit/75a7f9aa91f137538e0c2b533218b35c42d96d89))
191+
* 修改验证tinyapi401以后不杀进程 ([ee7d956](https://github.com/snow-sprite/CompressApp/commit/ee7d9566fa13cf7570ee565756284df5d401b6a5))
168192
* 重建压缩后生成的目录跟源目录一致 ([fd00ae1](https://github.com/snow-sprite/CompressApp/commit/fd00ae198457b69b5e14442f20bb69bc00b1bda0))
169193

170194

171195
### Features
172196

173-
* 修改git忽略文件 ([7ffdc24](https://github.com/snow-sprite/CompressApp/commit/7ffdc242446103ba462984905e03e0e5daddf1c5))
174197
* 添加示例 ([4e00e0a](https://github.com/snow-sprite/CompressApp/commit/4e00e0a87b2810426a0911f23f0490663865072c))
198+
* 修改git忽略文件 ([7ffdc24](https://github.com/snow-sprite/CompressApp/commit/7ffdc242446103ba462984905e03e0e5daddf1c5))
175199

176200

177201

@@ -180,15 +204,27 @@
180204

181205
### Bug Fixes
182206

183-
* remove node_modules/ ([d9c99fc](https://github.com/snow-sprite/CompressApp/commit/d9c99fcf66671e5e8ff45fef25af94ab2e683826))
184207
* 路径bug ([b5f0326](https://github.com/snow-sprite/CompressApp/commit/b5f03268a90eb8de49c2c1ac1219e0a7d6a6dd01))
208+
* remove node_modules/ ([d9c99fc](https://github.com/snow-sprite/CompressApp/commit/d9c99fcf66671e5e8ff45fef25af94ab2e683826))
185209

186210

187211
### Features
188212

189-
* 修改下载按钮样式,增加托盘 ([ec7c5b9](https://github.com/snow-sprite/CompressApp/commit/ec7c5b9bfed52706b16a33faebda3c2824927c52))
190213
* 解决页面显示数据的更新逻辑 ([3894a93](https://github.com/snow-sprite/CompressApp/commit/3894a93780ed7c4d302f9633038bb638722cf72d))
214+
* 修改下载按钮样式,增加托盘 ([ec7c5b9](https://github.com/snow-sprite/CompressApp/commit/ec7c5b9bfed52706b16a33faebda3c2824927c52))
191215
* 1. 增加onlineImg页面逻辑 ([13a1b59](https://github.com/snow-sprite/CompressApp/commit/13a1b59d3df2207a284395b7672261d73b2f0301))
216+
* 调整通知 ([45e4ee0](https://github.com/snow-sprite/CompressApp/commit/45e4ee0979019e633ac3df609d4e1e7ad214c034))
217+
* 更换icon,更换tray,拆分js ([36fedd4](https://github.com/snow-sprite/CompressApp/commit/36fedd4e87bb934f28e49451927c8eae23160545))
218+
* 基于browserWindow做一些微调 ([07799db](https://github.com/snow-sprite/CompressApp/commit/07799dba49c0e9032afa0f9d48a918fbdc735827))
219+
* 删除旧文件包 ([5d1ca8c](https://github.com/snow-sprite/CompressApp/commit/5d1ca8cb5b24258b91198ef2c805bf7160c53b79))
220+
* 新增显示压缩使用量的图表,onlineComporess可批量添加 ([e222d69](https://github.com/snow-sprite/CompressApp/commit/e222d69bbfd4fcb625dc55a63da5bc35a20f7ebe))
221+
* 修改基础js ([fa3ee63](https://github.com/snow-sprite/CompressApp/commit/fa3ee6321eea26b37b0eb393cfade9af872d9adb))
222+
* 修改图标,fixbug ([892fe82](https://github.com/snow-sprite/CompressApp/commit/892fe82c5494b8ba9890fc90b6ae356a3b2ebdfa))
223+
* 修改logo ([6f2a943](https://github.com/snow-sprite/CompressApp/commit/6f2a9439d8b53fd5f7fae600fbb99dec3bee064b))
224+
* 增加图表展示,优化部分代码 ([cf517cd](https://github.com/snow-sprite/CompressApp/commit/cf517cdb49d4fa0446ca9c1f5d1a7587af3a1ece))
225+
* 重构 ([2b970b9](https://github.com/snow-sprite/CompressApp/commit/2b970b98321dab6e81d4eba65262ba6953734c1f))
226+
* 重构 ([c439f51](https://github.com/snow-sprite/CompressApp/commit/c439f51155a50c348f01fc3daeb91c2bd4716b5b))
227+
* 重构 ([0cbfc83](https://github.com/snow-sprite/CompressApp/commit/0cbfc83da6ac057cc27fef191995c2a4f5313301))
192228
* add dom.js ([79d3375](https://github.com/snow-sprite/CompressApp/commit/79d33759a211575583fef5d53b46432464581097))
193229
* add settings ui ([1870bc4](https://github.com/snow-sprite/CompressApp/commit/1870bc471bf2c66282614e3cd4ef9fd71af12ef3))
194230
* add zip-local ([2a1efc7](https://github.com/snow-sprite/CompressApp/commit/2a1efc7959864e7fe55a8aca5dd0016353e16835))
@@ -197,18 +233,6 @@
197233
* compresed local images ([4975778](https://github.com/snow-sprite/CompressApp/commit/4975778e6722b98b9b300e5369e4b55d00e31244))
198234
* debuging ([64c52c9](https://github.com/snow-sprite/CompressApp/commit/64c52c97896c70da0403b116f29cdfa89c0ad0b0))
199235
* delete old directory ([e92192d](https://github.com/snow-sprite/CompressApp/commit/e92192d51b4550788552d47f160d60944d3bb46b))
200-
* 修改logo ([6f2a943](https://github.com/snow-sprite/CompressApp/commit/6f2a9439d8b53fd5f7fae600fbb99dec3bee064b))
201-
* 修改图标,fixbug ([892fe82](https://github.com/snow-sprite/CompressApp/commit/892fe82c5494b8ba9890fc90b6ae356a3b2ebdfa))
202-
* 修改基础js ([fa3ee63](https://github.com/snow-sprite/CompressApp/commit/fa3ee6321eea26b37b0eb393cfade9af872d9adb))
203-
* 删除旧文件包 ([5d1ca8c](https://github.com/snow-sprite/CompressApp/commit/5d1ca8cb5b24258b91198ef2c805bf7160c53b79))
204-
* 基于browserWindow做一些微调 ([07799db](https://github.com/snow-sprite/CompressApp/commit/07799dba49c0e9032afa0f9d48a918fbdc735827))
205-
* 增加图表展示,优化部分代码 ([cf517cd](https://github.com/snow-sprite/CompressApp/commit/cf517cdb49d4fa0446ca9c1f5d1a7587af3a1ece))
206-
* 新增显示压缩使用量的图表,onlineComporess可批量添加 ([e222d69](https://github.com/snow-sprite/CompressApp/commit/e222d69bbfd4fcb625dc55a63da5bc35a20f7ebe))
207-
* 更换icon,更换tray,拆分js ([36fedd4](https://github.com/snow-sprite/CompressApp/commit/36fedd4e87bb934f28e49451927c8eae23160545))
208-
* 调整通知 ([45e4ee0](https://github.com/snow-sprite/CompressApp/commit/45e4ee0979019e633ac3df609d4e1e7ad214c034))
209-
* 重构 ([0cbfc83](https://github.com/snow-sprite/CompressApp/commit/0cbfc83da6ac057cc27fef191995c2a4f5313301))
210-
* 重构 ([c439f51](https://github.com/snow-sprite/CompressApp/commit/c439f51155a50c348f01fc3daeb91c2bd4716b5b))
211-
* 重构 ([2b970b9](https://github.com/snow-sprite/CompressApp/commit/2b970b98321dab6e81d4eba65262ba6953734c1f))
212236

213237

214238

README-zh.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Compress your images
2+
3+
[English](./README.md) | 简体中文
4+
5+
> 一款基于electron-vue的图片压缩桌面程序
6+
7+
<p align="center">
8+
<a href="https://github.com/snow-sprite/CompressApp/stargazers" target="_blank">
9+
<img alt="stars" src="https://img.shields.io/github/stars/snow-sprite/CompressApp?color=success&logo=github&style=flat-square" />
10+
</a>
11+
12+
<a href="https://github.com/snow-sprite/CompressApp/network/members" target="_blank">
13+
<img alt="forks" src="https://img.shields.io/github/forks/snow-sprite/CompressApp?color=yellow&logo=github&style=flat-square" />
14+
</a>
15+
16+
<a href="https://github.com/snow-sprite/CompressApp/issues" target="_blank">
17+
<img alt="issues" src="https://img.shields.io/github/issues/snow-sprite/CompressApp?color=important&logo=Issuu&logoColor=white&style=flat-square" />
18+
</a>
19+
</p>
20+
21+
Typescript版本:<https://github.com/snow-sprite/TsCompressApp>
22+
23+
#### Local 🚀🚀
24+
25+
支持:
26+
- [x] 单文件夹
27+
- [x] 单图片
28+
- [x] 多图片
29+
- [x] 多文件夹
30+
- [x] 文件夹及图片
31+
- [x] 非支持格式的文件原样到目标目录
32+
33+
#### Online 🚅🚅
34+
35+
- [x] 仅支持有后缀的在线图片,默认生成到系统【下载】文件夹下
36+
37+
### 更新信息写到根目录updateInfo.json中即可,键值可以随便填
38+
- demo 🍐🍐
39+
```
40+
{
41+
"更新1": "首页左下角新增版本信息",
42+
"update2": "新增版本更新简介",
43+
"c": 'xxx...'
44+
}
45+
```
46+
47+
### TODO 🕞🚦🚧
48+
- [ ] 添加一个国内的压缩api
49+
50+
#### sample graph 📌📌
51+
52+
<!-- ![Local](https://github.com/snow-sprite/CompressApp/blob/master/demo/Local.min.png?raw=true)
53+
54+
![Online](https://github.com/snow-sprite/CompressApp/blob/master/demo/Online.min.png?raw=true)
55+
56+
![Settings](https://github.com/snow-sprite/CompressApp/blob/master/demo/Settings.min.png?raw=true)
57+
58+
![Compressed](https://github.com/snow-sprite/CompressApp/blob/master/demo/Compressed.min.png?raw=true) -->
59+
<span><img align="center" alt="WeChat" title="WeChat" src="https://github.com/snow-sprite/CompressApp/blob/master/demo/Local.min.png?raw=true" width="400px" /></span>
60+
<span><img align="center" alt="Alipay" title="Alipay" src="https://github.com/snow-sprite/CompressApp/blob/master/demo/Online.min.png?raw=true" width="00px" /></span>
61+
<span><img align="center" alt="Alipay" title="Alipay" src="https://github.com/snow-sprite/CompressApp/blob/master/demo/Settings.min.png?raw=true" width="400px" /></span>
62+
<span><img align="center" alt="Alipay" title="Alipay" src="https://github.com/snow-sprite/CompressApp/blob/master/demo/Compressed.min.png?raw=true" width="400px" /></span>
63+
#### Donate
64+
> If you find this project useful, you can buy author a glass of ~~tea~~ ~~coffee~~ juice.
65+
66+
<span><img align="center" alt="WeChat" title="WeChat" src="https://raw.githubusercontent.com/snow-sprite/picGoPublic/master/github-imgs/alipay.jpeg" width="270px" height="350px" /></span>
67+
<span><img align="center" alt="Alipay" title="Alipay" src="https://raw.githubusercontent.com/snow-sprite/picGoPublic/master/github-imgs/wechat.png" width="270px" height="350px" /></span>
68+
69+
70+
#### Build Setup ✒✒
71+
72+
``` bash
73+
# install dependencies
74+
npm install
75+
76+
# serve with hot reload at localhost:9080
77+
npm run dev
78+
79+
# build electron application for production
80+
npm run build
81+
82+
# rebuild electron application for production
83+
npm run build:clean && npm run build
84+
85+
```
86+
---

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Compress your images
22

3+
English | [简体中文](./README-zh.md)
4+
35
> A compressed picture desktop program based on electron-vue
46
57
<p align="center">
@@ -16,34 +18,32 @@
1618
</a>
1719
</p>
1820

19-
Typescript版本<https://github.com/snow-sprite/TsCompressApp>
21+
The Typescript version<https://github.com/snow-sprite/TsCompressApp>
2022

2123
#### Local 🚀🚀
2224

23-
支持
24-
- [x] 单文件夹
25-
- [x] 单图片
26-
- [x] 多图片
27-
- [x] 多文件夹
28-
- [x] 文件夹及图片
29-
- [x] 非支持格式的文件原样到目标目录
25+
Support
26+
- [x] A single folder
27+
- [x] A single picture
28+
- [x] Multiple images
29+
- [x] Multiple folders
30+
- [x] Multiple Folders and images
31+
- [x] Unsupported format files are copied to the destination directory
3032

3133
#### Online 🚅🚅
3234

33-
- [x] 仅支持有后缀的在线图片,默认生成到系统【下载】文件夹下
35+
- [x] Only online pictures with suffixes are supported. By default, they are generated in the system 「Download」 folder
3436

35-
### 更新信息写到根目录updateInfo.json中即可,键值可以随便填
37+
### The update information is written to the root directory updateInfo.json, and you can fill in any key
3638
- demo 🍐🍐
3739
```
3840
{
39-
"更新1": "首页左下角新增版本信息",
40-
"update2": "新增版本更新简介"
41+
"update1": "Added version information on the home page",
42+
"no.2": "Added introduction to version updates",
43+
"c": '...'
4144
}
4245
```
4346

44-
### TODO 🕞🚦🚧
45-
- [ ] 添加一个国内的压缩api
46-
4747
#### sample graph 📌📌
4848

4949
<!-- ![Local](https://github.com/snow-sprite/CompressApp/blob/master/demo/Local.min.png?raw=true)

0 commit comments

Comments
 (0)