Skip to content

Commit

Permalink
Fixed require lines to mach new electron requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
David VULTUR committed May 10, 2021
1 parent 2082d76 commit 53e14bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/touchbar-edit-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import {Disposable} from 'atom'
import etch from 'etch'
const {app, BrowserWindow, TouchBar, nativeImage} = require('remote')
const {app, BrowserWindow, TouchBar, nativeImage} = require('electron').remote
const {TouchBarLabel, TouchBarButton, TouchBarSpacer, TouchBarSlider} = TouchBar

import TouchBarItem from './touchbar-item'
Expand Down
2 changes: 1 addition & 1 deletion lib/touchbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import TouchbarEditView from './touchbar-edit-view';
import {CompositeDisposable} from 'atom';

const {app, BrowserWindow, TouchBar, Point, Range, nativeImage} = require('remote')
const {app, BrowserWindow, TouchBar, Point, Range, nativeImage} = require('electron').remote

const {
TouchBarButton,
Expand Down

0 comments on commit 53e14bc

Please sign in to comment.