Skip to content

Commit

Permalink
Update fdc3_explained.html
Browse files Browse the repository at this point in the history
  • Loading branch information
donbasuno authored and rikoe committed Dec 26, 2021
1 parent ffb9827 commit bdc120e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions toolbox/fdc3_explained.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<head>
<title>
FDC3 Explained
FDC3 Explained v.2
</title>

<script language="javascript">
Expand Down Expand Up @@ -51,10 +51,15 @@
console.log('FDC3 is available');

<!-- Special case for Openfin to read App Name -->
if(window.fin){
fin.desktop.Application.getCurrent().getInfo((info) => {document.getElementById('providerDetails').innerHTML = 'Available - ' + info.manifest.startup_app.name})
if (window.FSBL){
window.FSBL.getFSBLInfo().then((info) => {
document.getElementById('providerDetails').innerHTML = 'Available - Finsemble ' + info.FSBLVersion;
});
} else if (window.fin){
fin.desktop.Application.getCurrent().getInfo((info) => {
document.getElementById('providerDetails').innerHTML = 'Available - ' + info.manifest.startup_app.name});
} else {
document.getElementById('providerDetails').innerHTML = 'Available - Not specified';
document.getElementById('providerDetails').innerHTML = 'Available - Not specified';
}
document.getElementById('directoryDetails').innerHTML = 'TBD';

Expand Down

0 comments on commit bdc120e

Please sign in to comment.