Add check to only show windows buttons on windows (#2817)

Default windows action buttons to true and return false only for mac
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2025-05-08 14:05:19 +02:00
1 parent 28d8afae2e
commit ba34307918
1 file changed
+3
+3
View File
@@ -199,6 +199,9 @@ export default function initializeMockIPC(server, config) {
* Check for OS chrome state
*/
showWindowActions() {
if (navigator.userAgent.includes('Mac')) {
return false;
}
return true;
}