File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,11 +138,13 @@ app.once('ready', () => {
138138 window .setTouchBar (touchBar)
139139})
140140```
141+
141142### Running the above example
143+
142144To run the example above, you'll need to (assuming you've got a terminal open in the dirtectory you want to run the example):
143145
144- 1 . Save the above file to your computer, named as touchbar.js
145- 2 . Install electron via e.g. ` npm install electron `
146- 3 . Run the example inside electron : ` ./node_modules/.bin/electron touchbar.js `
146+ 1 . Save the above file to your computer as ` touchbar.js `
147+ 2 . Install Electron via ` npm install electron `
148+ 3 . Run the example inside Electron : ` ./node_modules/.bin/electron touchbar.js `
147149
148- You should then see a new electron window and the app running in your touchbar (or touchbar emulator).
150+ You should then see a new Electron window and the app running in your touch bar (or touch bar emulator).
You can’t perform that action at this time.
0 commit comments