2022-12-31 10:15:23 +00:00
|
|
|
const preambles = {
|
|
|
|
'extended-player-profile': `// ==UserScript==
|
|
|
|
// @name Extended player profile
|
2023-01-31 06:11:56 +00:00
|
|
|
// @version 1.1.0
|
2023-01-26 06:30:21 +00:00
|
|
|
// @description Adds additional info and actions to a player's profile.
|
2022-12-31 10:15:23 +00:00
|
|
|
// @author Dawid Wysokiński - Kichiyaki - contact@dwysokinski.me
|
|
|
|
// @match https://*/game.php?*screen=info_player*
|
2023-01-29 08:43:27 +00:00
|
|
|
// @downloadURL ${process.env.PUBLIC_URL}/extended-player-profile.user.js
|
|
|
|
// @updateURL ${process.env.PUBLIC_URL}/extended-player-profile.user.js
|
2022-12-31 10:15:23 +00:00
|
|
|
// @icon https://www.google.com/s2/favicons?domain=plemiona.pl
|
|
|
|
// @grant none
|
|
|
|
// @run-at document-end
|
2023-01-29 08:43:27 +00:00
|
|
|
// ==/UserScript==`,
|
2022-12-31 10:15:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
const preamble = preambles[process.env.PREAMBLE];
|
|
|
|
module.exports = preamble
|
|
|
|
? {
|
|
|
|
output: {
|
|
|
|
preamble: preamble,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
: {};
|