File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/main/session/controllers/Windows Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @seleniumhq/selenium-ide" ,
3- "version" : " 4.0.0-alpha.55 " ,
3+ "version" : " 4.0.0-alpha.56 " ,
44 "private" : true ,
55 "description" : " Selenium IDE electron app" ,
66 "author" :
" Todd <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import kebabCase from 'lodash/fp/kebabCase'
1212import { Session } from 'main/types'
1313import storage from 'main/store'
1414import { join } from 'node:path'
15+ import { platform } from 'node:os'
1516import BaseController from '../Base'
1617import { isAutomated } from 'main/util'
1718
@@ -26,6 +27,8 @@ const playbackWindowOptions = {
2627 } ,
2728}
2829
30+ const isMac = platform ( ) === 'darwin'
31+
2932const projectEditorWindowName = 'project-editor'
3033
3134export type WindowLoader = (
@@ -284,7 +287,9 @@ export default class WindowsController extends BaseController {
284287 bw . close ( )
285288 } )
286289 const window = await this . openPlaybackWindow ( { show : false } )
287- window . setWindowButtonVisibility ( false )
290+ if ( isMac ) {
291+ window . setWindowButtonVisibility ( false )
292+ }
288293 await this . useWindowState ( window , 'windowSizePlayback' , 'windowPositionPlayback' )
289294 window . show ( )
290295 }
You can’t perform that action at this time.
0 commit comments