mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-04 05:31:19 +01:00
feat(debug): add debugging information
This commit is contained in:
@@ -257,6 +257,20 @@ ipcRenderer.on("ready", async () => {
|
||||
await toggleFormAccessibility(false) //enable the form again
|
||||
|
||||
await validateChoice() // updates the 'enabled/disabled' html value of the terminal dropdown.
|
||||
|
||||
console.debug(`DEBUGGING INFORMATION:
|
||||
--
|
||||
OS: ${process.platform}
|
||||
Version: ${app_version}
|
||||
--
|
||||
Working directory locating methods:
|
||||
process.cwd(): ${process.cwd()}
|
||||
__dirname: ${__dirname}
|
||||
PORTABLE_EXECUTABLE_DIR: ${process.env.PORTABLE_EXECUTABLE_DIR}
|
||||
--
|
||||
platformpath(): ${platformpath()}
|
||||
|
||||
`)
|
||||
document.getElementById("loader").hidden = true
|
||||
ready = false
|
||||
})
|
||||
@@ -331,7 +345,3 @@ ipcRenderer.on("version", (event, version) => {
|
||||
document.getElementById("version-info").innerText = `v${version}`
|
||||
app_version = version.toString()
|
||||
})
|
||||
|
||||
ipcRenderer.on("print", (event, message) => {
|
||||
console.log(message)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user