Change Safari delivery, update readme
This commit is contained in:
parent
427bb6b0eb
commit
735f57c252
|
@ -18,8 +18,13 @@ Browser extensions (Chrome, Firefox, Opera and Safari) to display GitHub and Git
|
||||||
|
|
||||||
Octotree is not available on the Safari gallery. Instead, you must use the prebuilt package or build one from source.
|
Octotree is not available on the Safari gallery. Instead, you must use the prebuilt package or build one from source.
|
||||||
|
|
||||||
* Download the [Safari prebuilt package](https://github.com/buunguyen/octotree/tree/master/dist)
|
* Download the [Safari prebuilt package](https://github.com/buunguyen/octotree/tree/master/dist/safari.zip)
|
||||||
* Double-click or drag it to Safari
|
* Unzip the package
|
||||||
|
* Start Safari
|
||||||
|
* Select `Develop` > `Show Extension Builder`
|
||||||
|
* Click the `+` button and select `Add Extension...`
|
||||||
|
* Select the unzipped "octotree.safariextension" directory
|
||||||
|
* Click `Install`
|
||||||
|
|
||||||
### Install prebuilt packages (all browsers)
|
### Install prebuilt packages (all browsers)
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -20,7 +20,7 @@ gulp.task('default', ['build'], () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('dist', ['build'], (cb) => {
|
gulp.task('dist', ['build'], (cb) => {
|
||||||
$.runSequence('firefox:xpi', 'chrome:zip', 'chrome:crx', 'opera:nex', cb)
|
$.runSequence('firefox:xpi', 'chrome:zip', 'chrome:crx', 'opera:nex', 'safari:zip', cb)
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('test', ['build'], (cb) => {
|
gulp.task('test', ['build'], (cb) => {
|
||||||
|
@ -140,6 +140,14 @@ gulp.task('safari', ['safari:js'], () => {
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
gulp.task('safari:zip', () => {
|
||||||
|
return pipe(
|
||||||
|
'./tmp/safari/**/*',
|
||||||
|
$.zip('safari.zip'),
|
||||||
|
'./dist/'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
// Helpers
|
// Helpers
|
||||||
function pipe(src, ...transforms) {
|
function pipe(src, ...transforms) {
|
||||||
return transforms.reduce((stream, transform) => {
|
return transforms.reduce((stream, transform) => {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
"gulp-run": "^1.6.4",
|
"gulp-run": "^1.6.4",
|
||||||
"gulp-run-sequence": "*",
|
"gulp-run-sequence": "*",
|
||||||
"gulp-util": "^2.2.20",
|
"gulp-util": "^2.2.20",
|
||||||
"gulp-zip": "^2.0.1",
|
"gulp-zip": "^2.0.3",
|
||||||
"jpm": "^1.0.4",
|
"jpm": "^1.0.4",
|
||||||
"map-stream": "*",
|
"map-stream": "*",
|
||||||
"mocha": "2.0.1",
|
"mocha": "2.0.1",
|
||||||
|
|
Loading…
Reference in New Issue