Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
akenejie authored Sep 27, 2024
1 parent 0d44ba0 commit c0c9e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/preview/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function viewInExternal(pdfUri: vscode.Uri): void {
if (args) {
args = args.map(arg => arg.replace('%PDF%', pdfUri.fsPath))
}
logger.log(`Open external viewer for ${pdfUri}`)
logger.log(`Open external viewer for ${pdfUri.toString(true)}`)
logger.logCommand('Execute the external PDF viewer command', command, args)
const proc = cs.spawn(command, args, {cwd: path.dirname(pdfUri.fsPath), detached: true})
let stdout = ''
Expand Down Expand Up @@ -371,7 +371,7 @@ async function locate(pdfUri: vscode.Uri, record: SyncTeXRecordToPDF | SyncTeXRe
setTimeout(() => {
client.send({type: 'synctex', data: record})
}, needDelay ? 200 : 0)
logger.log(`Try to synctex ${pdfUri}`)
logger.log(`Try to synctex ${pdfUri.toString()}`)
}
}

Expand Down

0 comments on commit c0c9e2c

Please sign in to comment.