Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions console/atest-desktop/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
<label for="bin-location">Bin Location</label>
</td>
<td>
<input name="bin-location" id="bin-location" type="text"/>
<select name="bin-location" id="bin-location">
<option value="built-in">Built-in</option>
<option value="system-path">System Path</option>
<option value="home-path">Home Path</option>
</select>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -128,14 +132,14 @@

const binLocation = document.getElementById('bin-location');
binLocation.addEventListener("input", function(e) {
window.electronAPI.setBinLocation(binLocation.value)
window.electronAPI.setMainProcessLocation(binLocation.value)
});

(async function() {
portInput.value = await window.electronAPI.getPort()
extensionRegistry.value = await window.electronAPI.getExtensionRegistry()
downloadTimeout.value = await window.electronAPI.getDownloadTimeout()
binLocation.value = await window.electronAPI.getBinLocation()
binLocation.value = await window.electronAPI.getMainProcessLocation()

document.getElementById('address').innerText = await window.electronAPI.getHomePage();
})();
Expand Down
Loading
Loading