OSDN Git Service

fixed the error and updated the version to v2.0.1 2.0.1
authorZhiting Lin <zlin035@uottawa.ca>
Thu, 4 Jul 2019 05:59:42 +0000 (13:59 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Thu, 4 Jul 2019 05:59:42 +0000 (13:59 +0800)
README.md
build/webpack.base.conf.js
doc/en/add-to-chrome.md
package.json
src/manifest.js
src/views/sendTransaction/transfer.vue
src/views/welcome/creation.vue
updates.xml

index 0b930d7..df5c787 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Bystore Chrome Extension
-Bystore Chrome Extension wallet is a UTXO base Wallet. The extension in charge of the all the Key and Account Management.
+# Byone Chrome Extension
+Byone Chrome Extension wallet is a UTXO base Wallet. The extension in charge of the all the Key and Account Management.
 
 ## Building locally
 
index b2098f0..4713d93 100644 (file)
@@ -123,12 +123,7 @@ module.exports = {
     new WebpackAutoInject({
       PACKAGE_JSON_PATH: './package.json',
       components: {
-        AutoIncreaseVersion: true
-      },
-      componentsOptions: {
-        AutoIncreaseVersion: {
-          runInWatchMode: false // it will increase version with every single build!
-        }
+        AutoIncreaseVersion: false
       }
     })
   ],
index 8d1c3dd..93b2591 100644 (file)
@@ -4,7 +4,7 @@
 * Check "Developer mode".
 * Alternatively, use the URL `chrome://extensions/` in your address bar
 * At the top, click `Load Unpacked Extension`.
-* Navigate to your `Bystore/dist` folder.
+* Navigate to your `Byone/dist` folder.
 * Click `Select`.
 * Change to your locale via `chrome://settings/languages`
 * Restart the browser and test the plugin in your locale
index 86232b6..5d38a19 100644 (file)
@@ -1,7 +1,7 @@
 {
     "name": "Byone",
     "description": "Bytom Chrome Extension Wallet",
-    "version": "0.8.0",
+    "version": "2.0.1",
     "author": "zhiting.fly@8btc.com",
     "license": "MIT",
     "private": true,
@@ -63,4 +63,4 @@
         "webpack-dev-server": "^2.9.1",
         "webpack-merge": "^4.1.2"
     }
-}
\ No newline at end of file
+}
index 9b58fd8..baa2ef3 100644 (file)
@@ -2,7 +2,7 @@ module.exports = {
   manifest_version: 2,
   name: 'Byone',
   description: 'Bytom Wallet Chrome extension, Bystore officially changed to Byone.',
-  version: '2.0.0.0',
+  version: '2.0.1',
   author: 'Bytom frontend, zhitinglin',
   web_accessible_resources: ['js/inject.js', 'wasm/main.wasm'],
   browser_action: {
index 886cb89..403a9d6 100644 (file)
@@ -276,9 +276,10 @@ export default {
                 ele.label = ele.alias
                 ele.value = ele.guid
             });
-
-            if (Object.keys(this.account).length == 0) {
+            if (!this.guid) {
                 this.account = accounts[0]
+            }else{
+              this.account = this.accounts.filter(e => e.guid === this.guid)[0]
             }
         });
     }
index 48f0716..4762941 100644 (file)
         <a href="http://github.com/bycoinio/Bystore" target="_blank"><i class="iconfont icon-github"></i></a>
       </div>
       <div class="header">
-        <h1>Bystore</h1>
+        <h1>Byone</h1>
         <p>{{ $t('home.title')}}</p>
 
       </div>
index 95f5189..5c8359e 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
   <app appid='gnooapainaenaagmljnopepbheiaaaok'>
-    <updatecheck codebase='http://localhost:8000/chrome-ext.crx' version='2.0.0.0' />
+    <updatecheck codebase='http://localhost:8000/chrome-ext.crx' version='2.0.1' />
   </app>
 </gupdate>
\ No newline at end of file