Tracker Closes automatically on zoom meetings Bug Fix
This commit is contained in:
parent
3a34520152
commit
9fc9b964c2
|
|
@ -76,11 +76,6 @@ app.on("ready", async () => {
|
||||||
path.join(__dirname, "../assets/splash.html")
|
path.join(__dirname, "../assets/splash.html")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Create the main window
|
// Create the main window
|
||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
width: 500,
|
width: 500,
|
||||||
|
|
@ -104,6 +99,11 @@ app.on("ready", async () => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
win.setAlwaysOnTop(true, 'screen-saver');
|
||||||
|
win.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
|
||||||
|
win.setFullScreenable(false);
|
||||||
|
|
||||||
|
|
||||||
mainWindow = win;
|
mainWindow = win;
|
||||||
|
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -138,11 +138,14 @@ export const getRunningAppsList = async () => {
|
||||||
thumbnailSize: { width: 150, height: 150 } // Optional: set thumbnail size
|
thumbnailSize: { width: 150, height: 150 } // Optional: set thumbnail size
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log(sources, "Sources Retrieved");
|
||||||
|
|
||||||
const app = sources.map(source => ({
|
const app = sources.map(source => ({
|
||||||
name: source.name,
|
name: source.name,
|
||||||
pid: source.id,
|
pid: source.id,
|
||||||
// thumbnail: source.thumbnail // Can be used as screenshot
|
// thumbnail: source.thumbnail // Can be used as screenshot
|
||||||
}));
|
}));
|
||||||
|
|
||||||
return app
|
return app
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return []
|
return []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue