From 4f17dfc33c8dc6b3ec242c6aa6d96ee074e8b395 Mon Sep 17 00:00:00 2001 From: luhc228 Date: Wed, 26 May 2021 21:09:05 +0800 Subject: [PATCH] fix: typo --- README.md | 2 +- main/data/data.json | 20 ++++++++++++-------- main/packageInstaller/DmgInstaller.ts | 2 +- main/utils/formatWhitespaceInPath.ts | 2 +- package.json | 6 +++--- renderer/package.json | 4 ++-- renderer/public/index.html | 22 ++++++++++++---------- 7 files changed, 32 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 732a6c1..82cb48c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Appworks Toolkit +# AppWorks Toolkit ## Development diff --git a/main/data/data.json b/main/data/data.json index 2e9b650..c043534 100644 --- a/main/data/data.json +++ b/main/data/data.json @@ -52,9 +52,9 @@ "platform": "darwin" }, { - "title": "Appworks", + "title": "AppWorks Pack", "name": "iceworks-team.iceworks", - "description": "Appworks 前端研发套件", + "description": "基于 VS Code 的多端研发套件", "icon": "https://img.alicdn.com/imgextra/i4/O1CN01PkaZpW1K3xuisg58t_!!6000000001109-2-tps-512-512.png", "version": "0.19.0", "recommended": true, @@ -115,13 +115,17 @@ ], "IdeExtensions": [ { - "name": "Appworks Pack", - "description": "", - "icon": "", - "downloadUrl": "", - "version": "0.19.2", + "title": "AppWorks Pack", + "name": "iceworks-team.iceworks", + "description": "基于 VS Code 的多端研发套件", + "icon": "https://img.alicdn.com/imgextra/i4/O1CN01PkaZpW1K3xuisg58t_!!6000000001109-2-tps-512-512.png", + "version": "0.19.0", "recommended": true, - "isInternal": false + "isInternal": false, + "type": "IDEExtension", + "options": { + "IDEType": "VSCode" + } } ] } \ No newline at end of file diff --git a/main/packageInstaller/DmgInstaller.ts b/main/packageInstaller/DmgInstaller.ts index 723571f..17b1988 100644 --- a/main/packageInstaller/DmgInstaller.ts +++ b/main/packageInstaller/DmgInstaller.ts @@ -68,7 +68,7 @@ class DmgInstaller implements IPackageInstaller { installPkg = async ({ sourcePath, name }) => { const modifiedSource = formatWhitespaceInPath(sourcePath); - const options = { name: 'Appworks Toolkit' }; + const options = { name: 'AppWorks Toolkit' }; return new Promise((resolve, reject) => { sudo.exec( diff --git a/main/utils/formatWhitespaceInPath.ts b/main/utils/formatWhitespaceInPath.ts index 4db3863..57e8733 100644 --- a/main/utils/formatWhitespaceInPath.ts +++ b/main/utils/formatWhitespaceInPath.ts @@ -1,6 +1,6 @@ /** * Replace whitespace with `\ ` - * transform /Applications/Appworks Toolkit.app to /Applications/Appworks\ Toolkit.app + * transform /Applications/AppWorks Toolkit.app to /Applications/AppWorks\ Toolkit.app */ export default function formatWhitespaceInPath(p: string) { return p.replace(/ /g, '\\ '); diff --git a/package.json b/package.json index 1244fa4..8bf9481 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "main": "./dist/index.js", "build": { "appId": "appworks-toolkit", - "productName": "Appworks Toolkit", + "productName": "AppWorks Toolkit", "files": [ "dist/**/*", "package.json" @@ -35,7 +35,7 @@ "buildResources": "resource", "output": "release" }, - "copyright": "Copyright © 2021 Appworks", + "copyright": "Copyright © 2021-present AppWorks", "mac": { "target": [ "dmg", @@ -97,4 +97,4 @@ "typescript": "^4.0.0", "wait-on": "^5.3.0" } -} +} \ No newline at end of file diff --git a/renderer/package.json b/renderer/package.json index 6f635f6..9ba8efb 100644 --- a/renderer/package.json +++ b/renderer/package.json @@ -1,5 +1,5 @@ { - "name": "@appworks/toolkit-renderer", + "name": "appworks-toolkit-renderer", "version": "0.1.0", "description": "", "dependencies": { @@ -33,4 +33,4 @@ "build": "icejs build" }, "private": true -} +} \ No newline at end of file diff --git a/renderer/public/index.html b/renderer/public/index.html index baf1971..01a4ea1 100644 --- a/renderer/public/index.html +++ b/renderer/public/index.html @@ -1,13 +1,15 @@ - - - - - Appworks Toolkit - - -
- - + + + + + AppWorks Toolkit + + + +
+ + + \ No newline at end of file