码云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) => { 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 // Safari

View File

@ -1,10 +1,10 @@
{ {
"name": "Octotree", "name": "GitCodeTree",
"version": "$VERSION", "version": "$VERSION",
"manifest_version": 2, "manifest_version": 2,
"author": "Buu Nguyen", "author": "inu1255",
"description": "Code tree for GitHub", "description": "基于octotree的[码云](http://git.oschina.net)文件树插件",
"homepage_url": "https://github.com/buunguyen/octotree", "homepage_url": "http://git.oschina.net/inu1255/GitCodeTree",
"icons": { "icons": {
"128": "icons/icon128.png" "128": "icons/icon128.png"
}, },

View File

@ -2,7 +2,7 @@ const data = require('sdk/self').data
const pageMod = require('sdk/page-mod') const pageMod = require('sdk/page-mod')
pageMod.PageMod({ 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'), contentScriptFile: [data.url('jquery.js'),
data.url('jquery-ui.js'), data.url('jquery-ui.js'),
data.url('jstree.js'), data.url('jstree.js'),

View File

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