码云git

This commit is contained in:
inu1255 2017-06-15 17:11:54 +08:00
parent 7f4bf0c84b
commit 6d7c3c23a0
6 changed files with 23 additions and 22 deletions

BIN
dist/chrome.crx vendored

Binary file not shown.

BIN
dist/chrome.zip vendored

Binary file not shown.

View File

@ -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

View File

@ -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"
},

View File

@ -2,7 +2,7 @@ const data = require('sdk/self').data
const pageMod = require('sdk/page-mod')
pageMod.PageMod({
include: ['https://bitbucket.org/*', 'https://github.com/*'],
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'),

View File

@ -3,13 +3,13 @@
<plist version="1.0">
<dict>
<key>Author</key>
<string>Buu Nguyen</string>
<string>inu1255</string>
<key>Builder Version</key>
<string>9537.75.14</string>
<key>CFBundleDisplayName</key>
<string>octotree</string>
<string>GitCodeTree</string>
<key>CFBundleIdentifier</key>
<string>com.buunguyen.octotree</string>
<string>com.buunguyen.gitcodetree</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
@ -45,7 +45,7 @@
</array>
</dict>
<key>Description</key>
<string>Code tree for GitHub</string>
<string>基于octotree的[码云](http://git.oschina.net)文件树插件</string>
<key>ExtensionInfoDictionaryVersion</key>
<string>1.0</string>
<key>Permissions</key>
@ -56,6 +56,7 @@
<array>
<string>bitbucket.org</string>
<string>github.com</string>
<string>git.oschina.net</string>
</array>
<key>Include Secure Pages</key>
<true/>
@ -64,6 +65,6 @@
</dict>
</dict>
<key>Website</key>
<string>https://github.com/buunguyen/octotree</string>
<string>http://git.oschina.net/inu1255/GitCodeTree</string>
</dict>
</plist>