Skip to content

Commit

Permalink
added message to copied list
Browse files Browse the repository at this point in the history
  • Loading branch information
Forien committed Jun 22, 2020
1 parent 74a4b82 commit acd10a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# FoundryVTT - Forien's Copy Environment
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/forien/foundryvtt-forien-copy-environment?style=for-the-badge) ![GitHub Releases](https://img.shields.io/github/downloads/Forien/foundryvtt-forien-copy-environment/latest/total?style=for-the-badge)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/forien/foundryvtt-forien-copy-environment?style=for-the-badge) ![GitHub Releases](https://img.shields.io/github/downloads/Forien/foundryvtt-forien-copy-environment/total?style=for-the-badge)
**[Compatibility]**: *FoundryVTT* 0.6.0+
**[Systems]**: *any*

Expand Down
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"url": "https://www.patreon.com/forien"
}
],
"version": "1.0.0",
"version": "1.0.1",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.3",
"url": "https://github.com/Forien/foundryvtt-forien-copy-environment",
"manifest": "https://raw.githubusercontent.com/Forien/foundryvtt-forien-copy-environment/master/module.json",
"download": "https://github.com/Forien/foundryvtt-forien-copy-environment/releases/download/v1.0.0/v1.0.0.zip",
"readme": "https://github.com/Forien/foundryvtt-forien-copy-environment/blob/v1.0.0/README.md",
"download": "https://github.com/Forien/foundryvtt-forien-copy-environment/releases/download/v1.0.1/v1.0.1.zip",
"readme": "https://github.com/Forien/foundryvtt-forien-copy-environment/blob/v1.0.1/README.md",
"bugs": "https://github.com/Forien/foundryvtt-forien-copy-environment/issues",
"esmodules": [
"./modules/init.js"
Expand Down
6 changes: 5 additions & 1 deletion modules/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class FCE {
text += `${m.id} ${m.data.version} (${m.data.author})\n`;
});

text += `\n${data.message}`;

const el = document.createElement('textarea');
el.value = text;
el.setAttribute('readonly', '');
Expand Down Expand Up @@ -58,7 +60,9 @@ class FCE {
let system = game.data.system;
let core = game.data.version;

return {core, system, modules};
let message = "List generated with Forien's Copy Environment: https://github.com/Forien/foundryvtt-forien-copy-environment"

return {message, core, system, modules};
}

static getModules() {
Expand Down

0 comments on commit acd10a1

Please sign in to comment.