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