Repository navigation
Multiple Fixes/Tweaks - #87
Merged
Merged
Conversation
HotaruBlaze
force-pushed
the
development
branch
2 times, most recently
from
June 27, 2023 22:28
a76ab78 to
574c6a9
Compare
|
Thanks for fixing this issue in this PR |
Owner
|
10/10 PR. Thank you very much! 👏 |
This was referenced Jul 3, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds multiple small tweaks and some fixes discussed before on the Discord.
Added autopep8: This is a simple code linter to make the formatting uniform throughout the code, however has some rules disabled to preserve preferences. This is configured via
pyproject.tomlForce NSO-RPC to always be in the system tray: [Only Windows Affected] Their was a edge case where the system tray icon would disappear after opening and closing the app a couple of times, We now no longer hide the system tray when opened on windows. This matches usual windows and other versions of NSO-RPC.
Fix for Discord Client RPC not always updating.: This fixes NSO-RPC not always being able to connect to discord due to possible load time delays or if Discord is closed/restarted and relaunched without NSO-RPC reopening.
Cleanup requirements.txt: Just small clean-up, nothing of note.
Generate release checksums: We now generate sha256 hashes for the files built by Github Actions, This is mainly for people that'd have a use for it, such as fully scripting the install and wanting to check the hash to confirm the file is downloaded correctly.
Major overhaul of build Scripts: I decided to redo the Linux & Windows build script for a couple of reasons.
Create a client for Fedora #84 is one of them, the build script now supports Ubuntu, Arch Linux and Fedora.
The script also attempts to detect the correct version of Qt running to install the python equivalent for us to use.
I kept running into issues where I was building test copy's of NSO-RPC on Windows, to discover that I had built it without any Qt python modules installed. So I replaced the build script so it generates a temp python file to check if Qt is available then deletes the file afterwards. (This is very hacky but the only way I could find to make it consistent, I have also confirmed that VirusTotal considers this safe VirusTotal Link
Fix bad layout loading on edgecases:
TypeError: QStackedWidget parent unexpected type 'QMainWindow' #82
This fixes an obscure bug where on some Systems, the original Qt5/Qt6 layout code was faulty and would fail for some people, reporting as using Qt6 however trying to run it with Qt5, as some users (mainly MacOS, have both modules by default and act slightly differently than you'd expect). Note this was originally reported by the issue, however another user experienced it and we were able to pinpoint the issue.