Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden Window For RAT #21

Merged
merged 1 commit into from Jan 16, 2022
Merged

Hidden Window For RAT #21

merged 1 commit into from Jan 16, 2022

Conversation

nomrsavage
Copy link
Contributor

The RAT opens a window when it is run, making it impractical for general use. My edit simply adds an option to hide the window.
Unfortunately, when I was compiling the RAT for myself I ran into a problem where when I ran the final result it would give an error with something along the lines of "ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation." However, I was able to fix this by downgrading opencv to version 4.5.3.56 with "pip install opencv-python==4.5.3.56" This runs the RAT without a window (obviously it will be shown in task manager, there is a solution to that but it is way more advanced.)
I really like the work that you've done with this program, and can't wait to see more!
(Yes, I really just added 3 characters and think it's good enough for submission XD)

All local testing and workarounds made on Windows 10. I have not tested, nor do I plan to, on Linux. From my research, Linux users run into the same problem with PyInstaller on Ubuntu.

The RAT opens a window when it is run, making it impractical for general use. My edit simply adds an option to hide the window.
Unfortunately, when I was compiling the RAT for myself I ran into a problem where when I ran the final result it would give an error with something along the lines of "ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation." However, I was able to fix this by downgrading opencv to version 4.5.3.56 with "pip install opencv-python==4.5.3.56" This runs the RAT without a window (obviously it will be shown in task manager, there is a solution to that but it is way more advanced.)
I really like the work that you've done with this program, and can't wait to see more!
(Yes, I really just added 3 characters and think it's good enough for submission XD)

All local testing and workarounds made on Windows 10. I have not tested, nor do I plan to, on Linux. From my research, Linux users run into the same problem with PyInstaller on Ubuntu.
@nomrsavage
Copy link
Contributor Author

I just realized this now: some functions of the RAT that require the window parent won't function, such as the "windowspass" function.

@AstraaDev
Copy link
Owner

Okay, I'll look into it! Thanks for your intervention and yes it is true that hiding the window would be smarter xD

@AstraaDev AstraaDev merged commit 6fe223f into AstraaDev:main Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants