Tutorial: Window.show

Window.show

Shows the window if it is hidden at the specified location

Example

async function createWin() {
    const app = await fin.Application.create({
        name: 'myApp',
        uuid: 'app-1',
        url: 'https://www.openfin.co',
        autoShow: true
    });
    await app.run();
    return await app.getWindow();
}

async function show() {
    const app = await createWin();
    return await app.show()
}

show().then(() => console.log('Showing')).catch(err => console.log(err));