Tracker Closes automatically on zoom meetings Bug Fix

This commit is contained in:
BhagwanSingh 2025-11-26 13:02:58 +05:30
parent 3a34520152
commit 9fc9b964c2
2 changed files with 8 additions and 5 deletions

View File

@ -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;
// ------------------------------------ // ------------------------------------

View File

@ -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 []