mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-16 01:19:58 +00:00
lint
This commit is contained in:
parent
cba90cec0a
commit
61a46e3b4a
@ -8,6 +8,8 @@ import { ElectronService } from './electron.service'
|
|||||||
import { Logger, LogService } from './log.service'
|
import { Logger, LogService } from './log.service'
|
||||||
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_SUPPORTED } from '../utils'
|
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_SUPPORTED } from '../utils'
|
||||||
|
|
||||||
|
/* eslint-disable block-scoped-var */
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var wnr = require('windows-native-registry') // eslint-disable-line @typescript-eslint/no-var-requires, no-var
|
var wnr = require('windows-native-registry') // eslint-disable-line @typescript-eslint/no-var-requires, no-var
|
||||||
} catch (_) { }
|
} catch (_) { }
|
||||||
@ -287,7 +289,7 @@ export class HostAppService {
|
|||||||
this.electron.ipcRenderer.send('app:register-global-hotkey', specs)
|
this.electron.ipcRenderer.send('app:register-global-hotkey', specs)
|
||||||
}
|
}
|
||||||
|
|
||||||
useBuiltinGraphics () {
|
useBuiltinGraphics (): void {
|
||||||
const keyPath = 'SOFTWARE\\Microsoft\\DirectX\\UserGpuPreferences'
|
const keyPath = 'SOFTWARE\\Microsoft\\DirectX\\UserGpuPreferences'
|
||||||
const valueName = this.electron.app.getPath('exe')
|
const valueName = this.electron.app.getPath('exe')
|
||||||
if (this.platform === Platform.Windows) {
|
if (this.platform === Platform.Windows) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user