File tree Expand file tree Collapse file tree 2 files changed +168
-163
lines changed Expand file tree Collapse file tree 2 files changed +168
-163
lines changed Original file line number Diff line number Diff line change 43
43
< label for ="bin-location "> Bin Location</ label >
44
44
</ td >
45
45
< td >
46
- < input name ="bin-location " id ="bin-location " type ="text "/>
46
+ < select name ="bin-location " id ="bin-location ">
47
+ < option value ="built-in "> Built-in</ option >
48
+ < option value ="system-path "> System Path</ option >
49
+ < option value ="home-path "> Home Path</ option >
50
+ </ select >
47
51
</ td >
48
52
</ tr >
49
53
< tr >
128
132
129
133
const binLocation = document . getElementById ( 'bin-location' ) ;
130
134
binLocation . addEventListener ( "input" , function ( e ) {
131
- window . electronAPI . setBinLocation ( binLocation . value )
135
+ window . electronAPI . setMainProcessLocation ( binLocation . value )
132
136
} ) ;
133
137
134
138
( async function ( ) {
135
139
portInput . value = await window . electronAPI . getPort ( )
136
140
extensionRegistry . value = await window . electronAPI . getExtensionRegistry ( )
137
141
downloadTimeout . value = await window . electronAPI . getDownloadTimeout ( )
138
- binLocation . value = await window . electronAPI . getBinLocation ( )
142
+ binLocation . value = await window . electronAPI . getMainProcessLocation ( )
139
143
140
144
document . getElementById ( 'address' ) . innerText = await window . electronAPI . getHomePage ( ) ;
141
145
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments