-
Notifications
You must be signed in to change notification settings - Fork 3
/
generateUserScript.js
28 lines (26 loc) · 1.24 KB
/
generateUserScript.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const buildNumber = process.env.CIRCLE_BUILD_NUM + 3000
const userScriptTemplate = `// ==UserScript==
// @name FateOfAllFools - DIM Customization
// @author rslifka
// @connect docs.google.com
// @connect googleusercontent.com
// @connect rslifka.github.io
// @copyright 2024, Robert Slifka (https://github.com/rslifka/fate_of_all_fools)
// @description Enhancements to the Destiny Item Manager
// @grant GM_addStyle
// @grant GM_getResourceText
// @grant GM_getValue
// @grant GM_log
// @grant GM_setValue
// @grant GM_xmlhttpRequest
// @homepageURL https://github.com/rslifka/fate_of_all_fools
// @license MIT; https://raw.githubusercontent.com/rslifka/fate_of_all_fools/master/LICENSE.txt
// @match https://app.destinyitemmanager.com/*
// @require https://rslifka.github.io/fate_of_all_fools/fateOfAllFools.js
// @resource fateOfAllFoolsCSS https://rslifka.github.io/fate_of_all_fools/fateOfAllFools.css
// @run-at document-start
// @supportURL https://github.com/rslifka/fate_of_all_fools/issues
// @updateURL https://openuserjs.org/meta/rslifka/FateOfAllFools_-_DIM_Customization.meta.js
// @version ${buildNumber}
// ==/UserScript==`;
console.log(userScriptTemplate)