Skip to content

Commit 8ea9d37

Browse files
committed
disable auto-updater on mac until we get code-signing
1 parent d7ee024 commit 8ea9d37

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/selenium-ide/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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]>",

packages/selenium-ide/src/browser/windows/Splash/renderer.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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>

packages/selenium-ide/src/main/session/controllers/System/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { isAutomated } from 'main/util'
44
import { inspect } from 'util'
55
import { writeFile } from 'fs/promises'
66
import BaseController from '../Base'
7+
import { platform } from 'os'
78

89
let firstTime = true
910
export 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', () => {

0 commit comments

Comments
 (0)