File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
wpilib-utility-standalone/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ const app = remote.app;
135
135
// const shell = electron.shell;
136
136
const basepath = app . getAppPath ( ) ;
137
137
138
- console . log ( basepath ) ;
138
+ console . log ( 'BasePath: ' + basepath ) ;
139
139
140
140
let resourceRoot = path . join ( basepath , 'resources' ) ;
141
141
if ( basepath . indexOf ( 'default_app.asar' ) >= 0 ) {
@@ -168,14 +168,14 @@ window.addEventListener('load', async () => {
168
168
disposables . push ( javaExamples ) ;
169
169
disposables . push ( javaTemplates ) ;
170
170
171
- console . log ( projectRootPath ) ;
172
- console . log ( gradleRoot ) ;
171
+ console . log ( 'ProjectRootPath: ' + projectRootPath ) ;
172
+ console . log ( 'GradleRoot: ' + gradleRoot ) ;
173
173
} ) ;
174
174
175
175
document . addEventListener ( 'keydown' , ( e ) => {
176
- if ( e . which === 123 ) {
176
+ if ( e . key === '{' ) {
177
177
bWindow . webContents . openDevTools ( ) ;
178
- } else if ( e . which === 116 ) {
178
+ } else if ( e . key === 't' ) {
179
179
location . reload ( ) ;
180
180
}
181
181
} ) ;
You can’t perform that action at this time.
0 commit comments