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 Oct 9, 2020
1 parent 87eb93d commit 2e59d4c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions toolbox/fdc3_explained.html
Original file line number Diff line number Diff line change
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 2e59d4c

Please sign in to comment.