lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
52.25k stars 5.87k forks source link

[Bug] "Download PDF" button does return PNG file #1063

Closed tchayintr closed 1 year ago

tchayintr commented 1 year ago

Non-ChatGPT bug

Version

v1.1.0 (20230803.134227)

Bug description

I installed the application using Homebrew:

brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
brew install --cask chatgpt --no-quarantine

The problem occurred when clicking the "Download PDF" button, I got a PNG file. FYI, clicking the "Download PNG" button did work.

OS

MacOS Ventura 13.4.1

Environment

No response

tchayintr commented 1 year ago

This can be fixed by syncing scripts to the latest versions. I did sync them all but I guess this is related to export.js.

Preferences -> Scripts -> Sync

core.js: 0.1.2 chat.js: 0.1.4 cmd.js: 0.1.2 dalle2.js: 0.1.0 export.js: 0.1.5 markdown.export.js: 0.1.0 popup.core.js: 0.1.0

Reference: https://github.com/lencx/ChatGPT/issues/962