Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
CN-Tower committed Aug 22, 2021
1 parent 146bf96 commit f8c6918
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
- Algorithm: https://github.com/CN-Tower/format-to-json

#### 主页界面
![](/assets/zjson.png)
![](/images/zjson.png)
#### 对比界面
![](/assets/zjson-diff.png)
![](/images/zjson-diff.png)

### 二、简单介绍

Expand All @@ -31,7 +31,7 @@

相比其它在线格式化工具,如:bejson.com和json.cn等,转杰森界面更加专业、功能更加实用,绝对是开发和测试的好工具。

![](/assets/mean_stack.jpg)
![](/images/mean-stack.jpg)

### 三、运行项目

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"electron": "node scripts/prepare.js electron && ng build --prod && node scripts/electron.js && electron dist",
"electron:dist": "electron dist",
"electron:build": "node scripts/prepare.js electron && ng build --prod && node scripts/electron.js package && node scripts/webpack.config.js",
"electron:dmg": "electron-packager dist zjson --platform=darwin --out=package --icon=assets/zjson.icns --overwrite",
"electron:exe": "electron-packager dist zjson --platform=win32 --out=package --icon=assets/zjson.ico --overwrite",
"electron:dmg": "electron-packager dist zjson --platform=darwin --out=package --icon=electron-app/zjson.icns --overwrite",
"electron:exe": "electron-packager dist zjson --platform=win32 --out=package --icon=electron-app/zjson.ico --overwrite",
"package:dmg": "node scripts/build-dmg.js && node scripts/rename.js dmg",
"package:exe": "node scripts/build-exe.js && node scripts/rename.js exe",
"preview": "serve build",
Expand Down Expand Up @@ -78,6 +78,7 @@
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "~2.7.2",
"webpack": "^4.46.0",
"webpack5.51.1": "npm:[email protected]"
}
}
4 changes: 2 additions & 2 deletions scripts/build-dmg.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ createDMG(
out: outPath,
name: 'zjson-darwin-x64',
title: 'ZJSON',
background: path.join(rootPath, 'assets/dmg_bg.png'),
icon: path.join(rootPath, 'assets/zjson.icns'),
background: path.join(rootPath, 'electron-app/dmg-bg.png'),
icon: path.join(rootPath, 'electron-app/zjson.icns'),
overwrite: true,
},
(err) => {
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-exe.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ files.forEach(f => fn.rm(f));
name: 'zjson',
productName: 'zjson',
exe: 'zjson.exe',
icon: path.join(rootPath, 'assets/zjson.ico'),
iconNuget: path.join(rootPath, 'assets/zjson.ico'),
icon: path.join(rootPath, 'electron-app/zjson.ico'),
iconNuget: path.join(rootPath, 'electron-app/zjson.ico'),
homepage: 'https://www.zjson.net',
description: 'A powerful json formate tool!',
});
Expand Down

0 comments on commit f8c6918

Please sign in to comment.