Skip to content

Commit 763227b

Browse files
committed
e10 merge
1 parent e3826b7 commit 763227b

12 files changed

+27
-18
lines changed

go/libkb/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
package libkb
55

66
// Version is the current version (should be MAJOR.MINOR.PATCH)
7-
const Version = "5.7.0"
7+
const Version = "5.7.1"

shared/actions/fs/platform-specific.desktop.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,13 @@ const _openPathInSystemFileManagerPromise = (openPath: string, isFolder: boolean
9090
new Promise((resolve, reject) => {
9191
if (isFolder) {
9292
if (isWindows) {
93-
if (Electron.remote.shell.openItem(openPath)) {
94-
resolve()
95-
} else {
96-
reject(new Error('unable to open item'))
97-
}
93+
Electron.remote.shell.openPath(openPath).then(error => {
94+
if (error) {
95+
reject(new Error('unable to open item'))
96+
} else {
97+
resolve()
98+
}
99+
})
98100
} else {
99101
openInDefaultDirectory(openPath).then(resolve, reject)
100102
}

shared/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
66
import com.android.build.OutputFile
77

88
// KB: app version
9-
def VERSION_NAME = "5.7.0"
9+
def VERSION_NAME = "5.7.1"
1010

1111
/**
1212
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets

shared/desktop/app/main-window.desktop.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export default () => {
277277
webPreferences: {
278278
backgroundThrottling: false,
279279
devTools: showDevTools,
280+
enableRemoteModule: true,
280281
nodeIntegration: true,
281282
nodeIntegrationInWorker: false,
282283
preload: resolveRoot('dist', `preload-main${__DEV__ ? '.dev' : ''}.bundle.js`),

shared/desktop/app/menu-bar.desktop.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default (menubarWindowIDCallback: (id: number) => void) => {
4040
resizable: false,
4141
transparent: true,
4242
webPreferences: {
43+
enableRemoteModule: true,
4344
nodeIntegration: true,
4445
nodeIntegrationInWorker: false,
4546
preload: resolveRoot('dist', `preload-main${__DEV__ ? '.dev' : ''}.bundle.js`),

shared/desktop/app/menu-helper.desktop.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,19 @@ function setupContextMenu(window: Electron.BrowserWindow) {
161161
s =>
162162
new Electron.MenuItem({
163163
click(_, w) {
164-
w.webContents.replaceMisspelling(s)
164+
if (w) {
165+
w.webContents.replaceMisspelling(s)
166+
}
165167
},
166168
label: s,
167169
})
168170
),
169171
...(dictionarySuggestions.length ? [new Electron.MenuItem({type: 'separator'})] : []),
170172
new Electron.MenuItem({
171173
click(_, w) {
172-
w.webContents.session.addWordToSpellCheckerDictionary(props.misspelledWord)
174+
if (w) {
175+
w.webContents.session.addWordToSpellCheckerDictionary(props.misspelledWord)
176+
}
173177
},
174178
label: 'Add to dictionary',
175179
}),

shared/desktop/app/node.desktop.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Electron.app.commandLine.appendSwitch('disk-cache-size', '1')
3434
const installCrashReporter = () => {
3535
if (env.KEYBASE_CRASH_REPORT) {
3636
console.log(`Adding crash reporting (local). Crash files located in ${Electron.app.getPath('temp')}`)
37+
Electron.app.setPath('crashDumps', cacheRoot)
3738
Electron.crashReporter.start({
3839
companyName: 'Keybase',
39-
crashesDirectory: cacheRoot,
4040
productName: 'Keybase',
4141
submitURL: '',
4242
uploadToServer: false,
@@ -365,6 +365,7 @@ const plumbEvents = () => {
365365
show: false, // Start hidden and show when we actually get props
366366
titleBarStyle: 'customButtonsOnHover' as const,
367367
webPreferences: {
368+
enableRemoteModule: true,
368369
nodeIntegration: true,
369370
nodeIntegrationInWorker: false,
370371
preload: resolveRoot('dist', `preload-main${__DEV__ ? '.dev' : ''}.bundle.js`),

shared/desktop/webpack.config.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config = (_, {mode}) => {
2828
ignore: [/\.(native|ios|android)\.(ts|js)x?$/],
2929
plugins: [...(isHot && !nodeThread ? ['react-hot-loader/babel'] : [])],
3030
presets: [
31-
['@babel/preset-env', {debug: false, modules: false, targets: {electron: '8.0.2'}}],
31+
['@babel/preset-env', {debug: false, modules: false, targets: {electron: '10.1.1'}}],
3232
'@babel/preset-typescript',
3333
],
3434
},

shared/ios/Keybase/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>5.7.0</string>
20+
<string>5.7.1</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleURLTypes</key>

shared/ios/KeybaseShare/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>XPC!</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>5.7.0</string>
20+
<string>5.7.1</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>NSExtension</key>

shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
"cross-env": "7.0.2",
202202
"css-loader": "3.2.0",
203203
"del": "3.0.0",
204-
"electron": "8.0.2",
204+
"electron": "10.1.1",
205205
"electron-packager": "14.0.6",
206206
"eslint": "6.4.0",
207207
"eslint-plugin-filenames": "1.3.2",

shared/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5249,10 +5249,10 @@ electron-to-chromium@^1.3.247:
52495249
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.266.tgz#a33fb529c75f8d133e75ea7cbedb73a62f2158d2"
52505250
integrity sha512-UTuTZ4v8T0gLPHI7U75PXLQePWI65MTS3mckRrnLCkNljHvsutbYs+hn2Ua/RFul3Jt/L3Ht2rLP+dU/AlBfrQ==
52515251

5252-
electron@8.0.2:
5253-
version "8.0.2"
5254-
resolved "https://registry.yarnpkg.com/electron/-/electron-8.0.2.tgz#8dfd62fd42529fed94040b643660f2a82b4f8e95"
5255-
integrity sha512-hiQaFtFhd9X2Vjs01l3GXb8hPWSCa31o/kXydo+RC7vwcx9AGuzG7jWIq8vidzAWsF/YPM0LFVjFRZrfkqi03Q==
5252+
electron@10.1.1:
5253+
version "10.1.1"
5254+
resolved "https://registry.yarnpkg.com/electron/-/electron-10.1.1.tgz#44ff9207afc9df253d3b5ea40c7e6513c5dc08d8"
5255+
integrity sha512-ZJtZHMr17AvvBosuA6XUmpehwAlGM4/n46Mw9BcyD8tpgdI6IQd0X5OU9meE3X3M8Y6Ja2Kr2udTMgtjvot2hA==
52565256
dependencies:
52575257
"@electron/get" "^1.0.1"
52585258
"@types/node" "^12.0.12"

0 commit comments

Comments
 (0)