File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
main/session/controllers/System Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " selenium-ide" ,
3- "version" : " 4.0.1-alpha.90 " ,
3+ "version" : " 4.0.1-alpha.91 " ,
44 "private" : false ,
55 "description" : " Selenium IDE electron app" ,
66 "author" :
" Todd <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const ProjectEditor = () => {
1717 window . sideAPI . projects . getRecent ( ) . then ( setRecentProjects )
1818 } , [ ] )
1919 const loadProject = async ( ) => {
20-
2120 const response = await window . sideAPI . dialogs . open ( )
2221 if ( response . canceled ) return
2322 await window . sideAPI . projects . load ( response . filePaths [ 0 ] )
@@ -56,9 +55,9 @@ const ProjectEditor = () => {
5655 disablePadding
5756 key = { index }
5857 onClick = { ( ) => {
59- window . sideAPI . projects . load ( filepath ) . then ( ( ) => {
58+ window . sideAPI . projects . load ( filepath ) . then ( ( ) => {
6059 window . sideAPI . projects . getRecent ( ) . then ( setRecentProjects )
61- } )
60+ } )
6261 } }
6362 >
6463 < ListItemButton >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { isAutomated } from 'main/util'
44import { inspect } from 'util'
55import { writeFile } from 'fs/promises'
66import BaseController from '../Base'
7+ import { platform } from 'os'
78
89let firstTime = true
910export default class SystemController extends BaseController {
@@ -81,6 +82,10 @@ export default class SystemController extends BaseController {
8182 }
8283
8384 async checkForUpdates ( ) {
85+ // Don't check for updates on mac
86+ // This won't work until we have code signing certs
87+ if ( platform ( ) === 'darwin' ) return
88+
8489 this . session . windows . open ( 'update-notifier' )
8590 const window = await this . session . windows . get ( 'update-notifier' )
8691 window . on ( 'ready-to-show' , ( ) => {
You can’t perform that action at this time.
0 commit comments