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 4343 < label for ="bin-location "> Bin Location</ label >
4444 </ td >
4545 < 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 >
4751 </ td >
4852 </ tr >
4953 < tr >
128132
129133const binLocation = document . getElementById ( 'bin-location' ) ;
130134binLocation . addEventListener ( "input" , function ( e ) {
131- window . electronAPI . setBinLocation ( binLocation . value )
135+ window . electronAPI . setMainProcessLocation ( binLocation . value )
132136} ) ;
133137
134138( async function ( ) {
135139 portInput . value = await window . electronAPI . getPort ( )
136140 extensionRegistry . value = await window . electronAPI . getExtensionRegistry ( )
137141 downloadTimeout . value = await window . electronAPI . getDownloadTimeout ( )
138- binLocation . value = await window . electronAPI . getBinLocation ( )
142+ binLocation . value = await window . electronAPI . getMainProcessLocation ( )
139143
140144 document . getElementById ( 'address' ) . innerText = await window . electronAPI . getHomePage ( ) ;
141145} ) ( ) ;
You can’t perform that action at this time.
0 commit comments