Skip to content

Commit

Permalink
chore: change the usage of project name from hypertrons to hypertrons…
Browse files Browse the repository at this point in the history
…-crx

Signed-off-by: LinHaiming <lhming23@outlook.com>
  • Loading branch information
heming6666 committed May 28, 2021
1 parent 6e81f49 commit e9faefb
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
run: |
yarn install
npm run build
zip release/hypertrons.zip -r build/*
zip release/hypertrons-crx.zip -r build/*
- name: Test output
shell: pwsh
run: Test-Path release/hypertrons.crx | Should -Be $true
run: Test-Path release/hypertrons-crx.crx | Should -Be $true

- name: Release the extension
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -42,8 +42,8 @@ jobs:
prerelease: true
title: "Development Build"
files: |
release/hypertrons.crx
release/hypertrons.zip
release/hypertrons-crx.crx
release/hypertrons-crx.zip
- name: Update oss
uses: tvrcgo/upload-to-oss@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Test output
shell: pwsh
run: Test-Path release/hypertrons.crx | Should -Be $true
run: Test-Path release/hypertrons-crx.crx | Should -Be $true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hypertrons-crx",
"version": "0.1.2",
"private": true,
"description": "Hypertrons",
"description": "Hypertrons Chrome Extension",
"license": "Apache",
"scripts": {
"start": "node utils/webserver.js",
Expand Down
4 changes: 2 additions & 2 deletions publish/notification.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": 2021052301,
"content": {
"zh": "欢迎使用Hypertrons!",
"en": "Welcome to Hypertrons!"
"zh": "欢迎使用 Hypertrons-crx!",
"en": "Welcome to Hypertrons-crx!"
},
"is_published": true
}
8 changes: 4 additions & 4 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"manifest_appDescription": {
"message": "Hypertronsyour best Github helper"
"message": "Hypertrons-crx, your best GitHub helper"
},
"manifest_appName": {
"message": "Hypertrons Robot"
"message": "Hypertrons-crx Robot"
},
"manifest_iconTitle": {
"message": "[Loading……]"
},
"global_error_message": {
"message": "Sorry,an error occurred while loading hypertrons-crx extention..."
"message": "Sorry,an error occurred while loading Hypertrons-crx extention..."
},
"global_close": {
"message": "Close"
Expand Down Expand Up @@ -186,7 +186,7 @@
"message": "Version: %v"
},
"teachingBubble_text_headline": {
"message": "Explore Hypertrons charts"
"message": "Explore Hypertrons-crx charts"
},
"teachingBubble_text_content": {
"message": "Click here to see statistics data"
Expand Down
8 changes: 4 additions & 4 deletions src/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"manifest_appDescription": {
"message": "Hypertrons,您的最佳Github助手"
"message": "Hypertrons-crx,您的最佳Github助手"
},
"manifest_appName": {
"message": "Hypertrons机器人"
"message": "Hypertrons-crx 机器人"
},
"manifest_iconTitle": {
"message": "[载入中……]"
},
"global_error_message": {
"message": "抱歉,hypertrons 插件崩溃了,请刷新重试..."
"message": "抱歉,Hypertrons-crx 插件崩溃了,请刷新重试..."
},
"global_close": {
"message": "关闭"
Expand Down Expand Up @@ -183,7 +183,7 @@
"message": "版本号: %v"
},
"teachingBubble_text_headline": {
"message": "探索Hypertrons图表"
"message": "探索 Perceptor 图表"
},
"teachingBubble_text_content": {
"message": "点击以查看统计数据"
Expand Down
2 changes: 1 addition & 1 deletion src/components/OptionsPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const OptionsPage: React.FC = () => {
horizontalAlign="center"
style={{ paddingBottom: '10px' }}
>
<h1>HYPERTRONS</h1>
<h1>PERCEPTOR</h1>
<sub>{`version ${version}`}</sub>
</Stack>
<Stack
Expand Down
2 changes: 1 addition & 1 deletion src/components/PopupPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const PopupPage: React.FC = () => {

return(
<Stack horizontalAlign="center">
<h1>Hypertrons</h1>
<h1>Hypertrons-crx</h1>
<Stack
horizontalAlign="space-around"
verticalAlign='center'
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Hypertrons",
"name": "Hypertrons-crx",
"default_locale": "zh_CN",
"options_page": "options.html",
"icons": {
Expand Down
4 changes: 2 additions & 2 deletions src/mock/background.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const updateInformation = {
export const notificationInformation = {
"id": 2021052301,
"content": {
"zh": "欢迎使用Hypertrons!",
"en": "Welcome to Hypertrons!"
"zh": "欢迎使用 Hypertrons-crx !",
"en": "Welcome to Hypertrons-crx !"
},
"is_published": true
}
2 changes: 1 addition & 1 deletion src/pages/Content/DeveloperNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const DeveloperNetworkView: React.FC<DeveloperNetworkViewProps> = ({ currentDeve
}
return (
<div className="border-top color-border-secondary pt-3 mt-3">
<h2 className="h4 mb-2">Hypertrons</h2>
<h2 className="h4 mb-2">Perceptor</h2>
<ul className="vcard-details">
<li className="vcard-detail pt-1 css-truncate css-truncate-target" style={{ margin: '-5px -30px' }}>
<ActionButton
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ var options = {
keyFile: 'build.pem',
contentPath: 'build',
outputPath: 'release',
name: 'hypertrons'
name: 'hypertrons-crx'
})
],
};
Expand Down

0 comments on commit e9faefb

Please sign in to comment.