mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-09 23:43:35 +00:00
Show Recordly in the Windows taskbar
This commit is contained in:
1 parent
2938a16f1e
commit
b5bedd73d9
2 files changed
+6
-4
No files matched your search
+3
-3
@@ -529,9 +529,9 @@ function createTray() {
|
||||
}
|
||||
|
||||
function shouldUseTray() {
|
||||
// macOS exposes Recordly as a regular Dock app. Windows and Linux keep the
|
||||
// tray entry because they do not have the macOS Dock lifecycle.
|
||||
return process.platform !== "darwin";
|
||||
// macOS and Windows expose Recordly through their Dock/taskbar. Keep the
|
||||
// tray entry only on Linux, where it remains the primary app entry point.
|
||||
return process.platform === "linux";
|
||||
}
|
||||
|
||||
function getPublicAssetPath(filename: string) {
|
||||
|
||||
+3
-1
@@ -464,7 +464,9 @@ export function createHudOverlayWindow(): BrowserWindow {
|
||||
backgroundColor: "#00000000",
|
||||
resizable: false,
|
||||
alwaysOnTop: true,
|
||||
skipTaskbar: true,
|
||||
// The HUD is Recordly's persistent top-level window, so it owns the
|
||||
// Windows taskbar entry while auxiliary overlays stay hidden there.
|
||||
skipTaskbar: process.platform !== "win32",
|
||||
hasShadow: false,
|
||||
show: false,
|
||||
focusable: false,
|
||||
|
||||
Reference in new issue
Block a user