diff --git a/wowup-electron/ipc-events.ts b/wowup-electron/ipc-events.ts index 2bf19153..81803dc8 100644 --- a/wowup-electron/ipc-events.ts +++ b/wowup-electron/ipc-events.ts @@ -116,6 +116,7 @@ export function initializeIpcHandlers(window: BrowserWindow): void { handle( IPC_CREATE_DIRECTORY_CHANNEL, async (evt, directoryPath: string): Promise => { + log.info(`[CreateDirectory] '${directoryPath}'`); await fs.ensureDir(directoryPath); return true; } @@ -304,12 +305,14 @@ export function initializeIpcHandlers(window: BrowserWindow): void { handle( IPC_COPY_FILE_CHANNEL, async (evt, arg: CopyFileRequest): Promise => { + log.info(`[FileCopy] '${arg.sourceFilePath}' -> '${arg.destinationFilePath}'`); await fs.copy(arg.sourceFilePath, arg.destinationFilePath); return true; } ); handle(IPC_DELETE_DIRECTORY_CHANNEL, async (evt, filePath: string) => { + log.info(`[FileRemove] ${filePath}`); await fs.remove(filePath); return true; @@ -361,11 +364,13 @@ export function initializeIpcHandlers(window: BrowserWindow): void { }); handle(IPC_RESTART_APP, () => { + log.info(`[RestartApp]`); app.relaunch(); app.quit(); }); handle(IPC_QUIT_APP, () => { + log.info(`[QuitApp]`); app.quit(); }); @@ -391,6 +396,7 @@ export function initializeIpcHandlers(window: BrowserWindow): void { async function handleDownloadFile(arg: DownloadRequest) { try { const savePath = path.join(arg.outputFolder, arg.fileName); + log.info(`[DownloadFile] '${arg.url}' -> '${savePath}'`); const { data, headers } = await axios({ url: arg.url, diff --git a/wowup-electron/src/app/addon-providers/wowup-addon-provider.ts b/wowup-electron/src/app/addon-providers/wowup-addon-provider.ts index 1a3c48ee..7dfd0888 100644 --- a/wowup-electron/src/app/addon-providers/wowup-addon-provider.ts +++ b/wowup-electron/src/app/addon-providers/wowup-addon-provider.ts @@ -172,7 +172,7 @@ export class WowUpAddonProvider extends AddonProvider { console.timeEnd("WowUpScan"); const fingerprints = scanResults.map((result) => result.fingerprint); - console.log("fingerprintRequest", JSON.stringify(fingerprints)); + console.log("[WowUpFingerprints]", JSON.stringify(fingerprints)); const fingerprintResponse = await this.getAddonsByFingerprints(fingerprints); for (const scanResult of scanResults) { diff --git a/wowup-electron/src/app/components/cell-wrap-text/cell-wrap-text.component.html b/wowup-electron/src/app/components/cell-wrap-text/cell-wrap-text.component.html index ae68fcc6..7e4e0eef 100644 --- a/wowup-electron/src/app/components/cell-wrap-text/cell-wrap-text.component.html +++ b/wowup-electron/src/app/components/cell-wrap-text/cell-wrap-text.component.html @@ -1,3 +1,3 @@ -
+
{{params.value}}
\ No newline at end of file diff --git a/wowup-electron/src/app/components/footer/footer.component.html b/wowup-electron/src/app/components/footer/footer.component.html index 161f18c9..459a8242 100644 --- a/wowup-electron/src/app/components/footer/footer.component.html +++ b/wowup-electron/src/app/components/footer/footer.component.html @@ -1,4 +1,4 @@ -