mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-13 20:12:54 -07:00
Fix Windows YouTube playback flow and overlay pointer tracking
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import type { CliArgs } from '../../cli/args';
|
||||
|
||||
export function shouldEnsureTrayOnStartupForInitialArgs(
|
||||
platform: NodeJS.Platform,
|
||||
initialArgs: CliArgs | null,
|
||||
): boolean {
|
||||
if (platform !== 'win32') {
|
||||
return false;
|
||||
}
|
||||
if (initialArgs?.youtubePlay) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user