3 Commits

Author SHA1 Message Date
CDeenen
d0dfec4cde v0.8.3 2020-11-10 04:27:13 +01:00
CDeenen
4db55e754c readme update 2020-11-10 02:22:37 +01:00
CDeenen
32b47e9a41 manifest update 2020-11-10 01:58:54 +01:00
5 changed files with 24 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
MaterialDeck.zip

View File

@@ -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

View File

@@ -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

View File

@@ -18,6 +18,6 @@
} }
], ],
"url": "https://github.com/CDeenen/MaterialDeck", "url": "https://github.com/CDeenen/MaterialDeck",
"manifest": "https://raw.githubusercontent.com/CDeenen/MaterialDeck/master/module.json", "manifest": "https://raw.githubusercontent.com/CDeenen/MaterialDeck/Master/module.json",
"download": "https://github.com/CDeenen/MaterialDeck/archive/master.zip" "download": "https://github.com/CDeenen/MaterialDeck/archive/Master.zip"
} }

View File

@@ -121,8 +121,9 @@ export class StreamDeck{
} }
} }
let split = src.split('.'); let split = src.split('?');
let format = split[1]; split = split[0].split('.');
let format = split[split.length-1];
split = src.split(' '); split = src.split(' ');
if (split[0] == 'fas' || split[0] == 'far' || split[0] == 'fal' || split[0] == 'fad') format = 'icon'; if (split[0] == 'fas' || split[0] == 'far' || split[0] == 'fal' || split[0] == 'fad') format = 'icon';
let msg = { let msg = {