Skip to content

Commit

Permalink
Log tool path for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoTheThird committed Nov 13, 2020
1 parent 39bbbe4 commit e066ceb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,9 @@ async function createWindow() {

// Tasks we need for every start and restart
mainWindow.webContents.on("did-finish-load", () => {
["adb", "fastboot", "heimdall"].forEach(tool =>
utils.log.debug(`using ${tool}: ${deviceTools[tool].executable}`)
);
if (!global.installProperties.device) {
const wait = devices.waitForDevice();
ipcMain.once("device:selected", () => (wait ? wait.cancel() : null));
Expand Down

0 comments on commit e066ceb

Please sign in to comment.