Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0dfec4cde | ||
|
|
4db55e754c | ||
|
|
32b47e9a41 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
MaterialDeck.zip
|
||||
12
README.md
12
README.md
@@ -0,0 +1,12 @@
|
||||
# Stream Deck
|
||||
Material Deck is a Foundry VTT module that allows you to control certain Foundry functions using an Elgato Stream Deck.
|
||||
|
||||
## Instructions
|
||||
Instructions are on the <a href="https://github.com/CDeenen/MaterialDeck/wiki">wiki</a>.
|
||||
|
||||
## Latest releases
|
||||
<a href="https://github.com/CDeenen/MaterialDeck/releases">Module</a><br>
|
||||
<a href="https://github.com/CDeenen/MaterialDeck_SD/releases">Stream Deck</a><br>
|
||||
<a href="https://github.com/CDeenen/MaterialDeck_Server/releases">Server</a><br>
|
||||
<br>
|
||||
Module manifest: https://raw.githubusercontent.com/CDeenen/MaterialDeck/Master/module.json
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# Changelog Material Deck Module
|
||||
### v0.8.3 - 10-11-2020
|
||||
Fixed compatibility with tokenizer
|
||||
|
||||
### v0.8.2 - 10-11-2020
|
||||
Beta release
|
||||
@@ -18,6 +18,6 @@
|
||||
}
|
||||
],
|
||||
"url": "https://github.com/CDeenen/MaterialDeck",
|
||||
"manifest": "https://raw.githubusercontent.com/CDeenen/MaterialDeck/master/module.json",
|
||||
"download": "https://github.com/CDeenen/MaterialDeck/archive/master.zip"
|
||||
"manifest": "https://raw.githubusercontent.com/CDeenen/MaterialDeck/Master/module.json",
|
||||
"download": "https://github.com/CDeenen/MaterialDeck/archive/Master.zip"
|
||||
}
|
||||
@@ -121,8 +121,9 @@ export class StreamDeck{
|
||||
}
|
||||
}
|
||||
|
||||
let split = src.split('.');
|
||||
let format = split[1];
|
||||
let split = src.split('?');
|
||||
split = split[0].split('.');
|
||||
let format = split[split.length-1];
|
||||
split = src.split(' ');
|
||||
if (split[0] == 'fas' || split[0] == 'far' || split[0] == 'fal' || split[0] == 'fad') format = 'icon';
|
||||
let msg = {
|
||||
|
||||
Reference in New Issue
Block a user