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")
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Create the main window
|
||||
const win = new BrowserWindow({
|
||||
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;
|
||||
|
||||
// ------------------------------------
|
||||
|
|
|
|||
|
|
@ -138,11 +138,14 @@ export const getRunningAppsList = async () => {
|
|||
thumbnailSize: { width: 150, height: 150 } // Optional: set thumbnail size
|
||||
});
|
||||
|
||||
console.log(sources, "Sources Retrieved");
|
||||
|
||||
const app = sources.map(source => ({
|
||||
name: source.name,
|
||||
pid: source.id,
|
||||
// thumbnail: source.thumbnail // Can be used as screenshot
|
||||
}));
|
||||
|
||||
return app
|
||||
} catch (error) {
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in New Issue