mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
lint
This commit is contained in:
parent
cba90cec0a
commit
61a46e3b4a
1 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,8 @@ import { ElectronService } from './electron.service'
|
|||
import { Logger, LogService } from './log.service'
|
||||
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_SUPPORTED } from '../utils'
|
||||
|
||||
/* eslint-disable block-scoped-var */
|
||||
|
||||
try {
|
||||
var wnr = require('windows-native-registry') // eslint-disable-line @typescript-eslint/no-var-requires, no-var
|
||||
} catch (_) { }
|
||||
|
@ -287,7 +289,7 @@ export class HostAppService {
|
|||
this.electron.ipcRenderer.send('app:register-global-hotkey', specs)
|
||||
}
|
||||
|
||||
useBuiltinGraphics () {
|
||||
useBuiltinGraphics (): void {
|
||||
const keyPath = 'SOFTWARE\\Microsoft\\DirectX\\UserGpuPreferences'
|
||||
const valueName = this.electron.app.getPath('exe')
|
||||
if (this.platform === Platform.Windows) {
|
||||
|
|
Loading…
Reference in a new issue