Make our URL settings more flexible.
This commit is contained in:
parent
18f5554dfe
commit
a7eb0ed8b2
@ -173,8 +173,6 @@ module.exports = (grunt) ->
|
||||
stdout: true
|
||||
stderr: true
|
||||
failOnError: true
|
||||
checkout:
|
||||
command: 'git checkout <%= pkg.meta.mainBranch %>'
|
||||
commit:
|
||||
command: """
|
||||
git commit -am "Release <%= pkg.meta.name %> v<%= pkg.meta.version %>."
|
||||
|
||||
@ -5,18 +5,18 @@
|
||||
"name": "4chan X",
|
||||
"version": "1.11.8.4",
|
||||
"date": "2015-08-11T05:15:18.264Z",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",
|
||||
"faq": "https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions",
|
||||
"license": "https://github.com/ccd0/4chan-x/blob/master/LICENSE",
|
||||
"changelog": "https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md",
|
||||
"issues": "https://github.com/ccd0/4chan-x/issues",
|
||||
"appid": "lacclbnghgdicfifcamcmcnilckjamag",
|
||||
"chromeStoreID": "ohnjgmpcibpbafdlkimncjhflgedgpam",
|
||||
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
||||
"youtubeAPIKey": "AIzaSyB5_zaen_-46Uhz1xGR-lz1YoUMHqCD6CE",
|
||||
"awsBucket": "4chan-x",
|
||||
"buildsPath": "builds/",
|
||||
"mainBranch": "master",
|
||||
"matches": [
|
||||
"*://boards.4chan.org/*",
|
||||
"*://sys.4chan.org/*",
|
||||
|
||||
@ -100,7 +100,7 @@ Main =
|
||||
$.set items2, ->
|
||||
if items['Show Updated Notifications'] ? true
|
||||
el = $.el 'span',
|
||||
<%= html(meta.name + ' has been updated to <a href="' + meta.repo + 'blob/' + meta.mainBranch + '/CHANGELOG.md" target="_blank">version ${g.VERSION}</a>.') %>
|
||||
<%= html(meta.name + ' has been updated to <a href="' + meta.changelog + '" target="_blank">version ${g.VERSION}</a>.') %>
|
||||
new Notice 'info', el, 15
|
||||
|
||||
initFeatures: ->
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
<a class="reset">Reset Settings</a> | 
|
||||
<input type="file" hidden>
|
||||
<a href="<%= meta.page %>" target="_blank"><%= meta.name %></a> | 
|
||||
<a href="<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md" target="_blank">${g.VERSION}</a> | 
|
||||
<a href="<%= meta.repo %>issues" target="_blank">Issues</a> | 
|
||||
<a href="<%= meta.changelog %>" target="_blank">${g.VERSION}</a> | 
|
||||
<a href="<%= meta.issues %>" target="_blank">Issues</a> | 
|
||||
<a href="javascript:;" class="close fa fa-times" title="Close"></a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
// @minFFVer <%= meta.min.firefox %>
|
||||
// @namespace <%= name %>
|
||||
// @description <%= description %>
|
||||
// @license MIT; <%= meta.repo %>blob/<%= meta.mainBranch %>/LICENSE
|
||||
// @license MIT; <%= meta.license %>
|
||||
<%=
|
||||
meta.matches.map(function(match) {
|
||||
if (/^\*/.test(match)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user