diff --git a/dist/chrome.crx b/dist/chrome.crx index 7873379..3a14fec 100644 Binary files a/dist/chrome.crx and b/dist/chrome.crx differ diff --git a/dist/chrome.zip b/dist/chrome.zip index 2fafa3c..4f9dbb1 100644 Binary files a/dist/chrome.zip and b/dist/chrome.zip differ diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 17de4bb..c5c9030 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -119,7 +119,7 @@ gulp.task('firefox', ['firefox:js'], () => { }) gulp.task('firefox:xpi', (cb) => { - $.run('cd ./tmp/firefox && ../../node_modules/.bin/jpm xpi && mkdir -p ../../dist && mv jid1-Om7eJGwA1U8Akg*.xpi ../../dist/firefox.xpi').exec(cb) + $.run('cd ./tmp/firefox && ../../node_modules/.bin/jpm xpi && mkdir -p ../../dist && mv octotree.xpi ../../dist/firefox.xpi').exec(cb) }) // Safari diff --git a/src/config/chrome/manifest.json b/src/config/chrome/manifest.json index 6d79fb7..f48f9a4 100755 --- a/src/config/chrome/manifest.json +++ b/src/config/chrome/manifest.json @@ -1,10 +1,10 @@ { - "name": "Octotree", + "name": "GitCodeTree", "version": "$VERSION", "manifest_version": 2, - "author": "Buu Nguyen", - "description": "Code tree for GitHub", - "homepage_url": "https://github.com/buunguyen/octotree", + "author": "inu1255", + "description": "基于octotree的[码云](http://git.oschina.net)文件树插件", + "homepage_url": "http://git.oschina.net/inu1255/GitCodeTree", "icons": { "128": "icons/icon128.png" }, diff --git a/src/config/firefox/firefox.js b/src/config/firefox/firefox.js index 96fc06e..aa12e80 100644 --- a/src/config/firefox/firefox.js +++ b/src/config/firefox/firefox.js @@ -2,16 +2,16 @@ const data = require('sdk/self').data const pageMod = require('sdk/page-mod') pageMod.PageMod({ - include: ['https://bitbucket.org/*', 'https://github.com/*'], - contentScriptFile : [data.url('jquery.js'), - data.url('jquery-ui.js'), - data.url('jstree.js'), - data.url('keymaster.js'), - data.url('ondemand.js'), - data.url('octotree.js') - ], - contentStyleFile : [data.url('jstree.css'), - data.url('octotree.css') - ], - contentScriptWhen : 'start' + include: ['https://bitbucket.org/*', 'https://github.com/*', 'http://git.oschina.net/*'], + contentScriptFile: [data.url('jquery.js'), + data.url('jquery-ui.js'), + data.url('jstree.js'), + data.url('keymaster.js'), + data.url('ondemand.js'), + data.url('octotree.js') + ], + contentStyleFile: [data.url('jstree.css'), + data.url('octotree.css') + ], + contentScriptWhen: 'start' }) diff --git a/src/config/safari/Info.plist b/src/config/safari/Info.plist index 2b44f00..60df079 100755 --- a/src/config/safari/Info.plist +++ b/src/config/safari/Info.plist @@ -3,13 +3,13 @@ Author - Buu Nguyen + inu1255 Builder Version 9537.75.14 CFBundleDisplayName - octotree + GitCodeTree CFBundleIdentifier - com.buunguyen.octotree + com.buunguyen.gitcodetree CFBundleInfoDictionaryVersion 6.0 CFBundleShortVersionString @@ -45,7 +45,7 @@ Description - Code tree for GitHub + 基于octotree的[码云](http://git.oschina.net)文件树插件 ExtensionInfoDictionaryVersion 1.0 Permissions @@ -56,6 +56,7 @@ bitbucket.org github.com + git.oschina.net Include Secure Pages @@ -64,6 +65,6 @@ Website - https://github.com/buunguyen/octotree + http://git.oschina.net/inu1255/GitCodeTree