()
| 90 | |
| 91 | let namedImages |
| 92 | const initNamedImages = () => { |
| 93 | if (process.platform !== 'darwin' || namedImages) return |
| 94 | namedImages = { |
| 95 | reload: icon('NSTouchBarRefreshTemplate', { height: 20 }), |
| 96 | toggleElementInspector: icon('NSTouchBarQuickLookTemplate', { height: 18 }), |
| 97 | networkInspect: icon('NSTouchBarRecordStartTemplate', { height: 20 }), |
| 98 | prev: icon('NSTouchBarGoBackTemplate', { height: 20 }), |
| 99 | next: icon('NSTouchBarGoForwardTemplate', { height: 20 }), |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | const setDevMenuMethodsForTouchBar = () => { |
| 104 | if (process.platform !== 'darwin') return |
no test coverage detected