This commit is contained in:
Buu Nguyen 2018-03-07 20:00:38 -08:00
commit 15fb471cfe
2 changed files with 5 additions and 2 deletions

View File

@ -129,11 +129,11 @@ gulp.task('firefox:zip', () => {
// Safari
gulp.task('safari:template', () => {
return buildTemplate({})
return buildTemplate({SUPPORT_FILE_ICONS: true})
})
gulp.task('safari:js', ['safari:template', 'lib:ondemand'], () => {
return buildJs([], {})
return buildJs([], {SUPPORT_FILE_ICONS: true})
})
gulp.task('safari', ['safari:js'], () => {
@ -143,6 +143,7 @@ gulp.task('safari', ['safari:js'], () => {
['./libs/**/*', '!./libs/ondemand{,/**}', './tmp/octotree.*', './tmp/ondemand.js'],
'./tmp/safari/octotree.safariextension/'
),
pipe('./libs/file-icons.css', $.replace('../fonts', 'fonts'), './tmp/safari/octotree.safariextension/'),
pipe('./src/config/safari/Info.plist', $.replace('$VERSION', getVersion()), './tmp/safari/octotree.safariextension')
)
})

View File

@ -29,12 +29,14 @@
<string>jstree.js</string>
<string>keymaster.js</string>
<string>ondemand.js</string>
<string>file-icons.js</string>
<string>octotree.js</string>
</array>
</dict>
<key>Stylesheets</key>
<array>
<string>jstree.css</string>
<string>file-icons.css</string>
<string>octotree.css</string>
</array>
<key>Whitelist</key>