GuidanceOfGrace / CLASSIC-Fallout4

Crash Log Auto-Scanner & Setup Integrity Checker for Fallout 4 / Buffout 4. Tool that extensively scans Fallout 4 game & mod files and Buffout 4 crash logs, then provides troubleshooting advice depending on what it finds.
8 stars 4 forks source link

Pastebin Support and Experimenting on Removing CLI #59

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

Since Buffout 4 OG supports uploading of logs to pastebin (and some people just do it anyway) I figure having a way to download and parse a log directly from pastebin would be good to have. Only one log can be downloaded at a time and the downloaded to a directory in the current working directory called pastebin. The downloaded file will be renamed to be compliant with file name requirements (crash-pastebin id.log). I'm reusing the crash directory lineedit widget for inputting the URL. There is a download from pastebin check box that will toggle on pastebin functionality. Because of this, I'm using the returnPressed signal for both setting the pastebin url as well as to set the scan directory if the pastebin checkbox is not checked. Using what I learned about Signals and Slots from working on PACT 😁.

evildarkarchon commented 1 year ago

This branch is based on my beta branch, and I will try to keep track of any changes as necessary. I don't know how github will deal with 2 pull requests based off a non-main branch, I'm better at Python than I am at Git, that's for sure. I'm doing this as a separate pull request since I don't want to put this code in public beta builds and I'm flagging it as a draft since as of this comment, the new code is in very early stages.

evildarkarchon commented 1 year ago

I'm going to be experimenting with removing CLI since CLAS is packaged as a GUI app, no one really uses it, and it will make implementation of GUI features easier with access to Qt Signals and Slots in other modules.