打包发布
This commit is contained in:
parent
2fb89daeeb
commit
0002bfdd22
|
@ -24,7 +24,7 @@ fork from [https://github.com/buunguyen/octotree](https://github.com/buunguyen/o
|
||||||
GitCodeTree在Safari gallery中不可用。相反,您必须使用预先构建的包或从源代码构建一个。
|
GitCodeTree在Safari gallery中不可用。相反,您必须使用预先构建的包或从源代码构建一个。
|
||||||
|
|
||||||
* 下载 [Safari 预先构建的包](http://git.oschina.net/inu1255/GitCodeTree/blob/master/dist/safari.safariextz?raw=true)
|
* 下载 [Safari 预先构建的包](http://git.oschina.net/inu1255/GitCodeTree/blob/master/dist/safari.safariextz?raw=true)
|
||||||
* 双击并拖拽到Safari窗口
|
* 双击或者拖拽到Safari窗口
|
||||||
|
|
||||||
### 从预先构建的软件包安装(所有浏览器)
|
### 从预先构建的软件包安装(所有浏览器)
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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 octotree.xpi ../../dist/firefox.xpi').exec(cb)
|
$.run('cd ./tmp/firefox && ../../node_modules/.bin/jpm xpi && mkdir -p ../../dist && mv GitCodeTree.xpi ../../dist/firefox.xpi').exec(cb)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Safari
|
// Safari
|
||||||
|
|
|
@ -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/*', 'http://git.oschina.net/*', 'https://git.oschina.com/*', 'http://gitee.com/*', 'https://gitee.com/*'],
|
include: ['https://bitbucket.org/*', 'https://github.com/*', 'https://git.oschina.com/*', 'https://gitee.com/*'],
|
||||||
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'),
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "octotree",
|
"name": "GitCodeTree",
|
||||||
"title": "Octotree",
|
"title": "GitCodeTree",
|
||||||
"id": "jid1-Om7eJGwA1U8Akg@jetpack",
|
"id": "929909260@qq.com",
|
||||||
"description": "Code tree for GitHub",
|
"description": "Code tree for Gitee、GitHub",
|
||||||
"author": "Buu Nguyen",
|
"author": "inu1255",
|
||||||
"homepage": "https://github.com/buunguyen/octotree",
|
"homepage": "http://git.oschina.net/inu1255/GitCodeTree",
|
||||||
"main": "lib/firefox",
|
"main": "lib/firefox",
|
||||||
"icon": "resource://jid1-Om7eJGwA1U8Akg-at-jetpack/data/icons/icon48.png",
|
"icon": "resource://jid1-Om7eJGwA1U8Akg-at-jetpack/data/icons/icon48.png",
|
||||||
"icon64": "resource://jid1-Om7eJGwA1U8Akg-at-jetpack/data/icons/icon64.png",
|
"icon64": "resource://jid1-Om7eJGwA1U8Akg-at-jetpack/data/icons/icon64.png",
|
||||||
|
@ -15,9 +15,7 @@
|
||||||
"https://api.bitbucket.org",
|
"https://api.bitbucket.org",
|
||||||
"https://api.github.com",
|
"https://api.github.com",
|
||||||
"https://bitbucket.org",
|
"https://bitbucket.org",
|
||||||
"http://git.oschina.net",
|
|
||||||
"https://git.oschina.net",
|
"https://git.oschina.net",
|
||||||
"http://gitee.com",
|
|
||||||
"https://gitee.com",
|
"https://gitee.com",
|
||||||
"https://github.com"
|
"https://github.com"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue