Linux compability#41
Draft
Sassy0P wants to merge 15 commits into
Draft
Conversation
- Ignore logs - Ignore resources
- Replacing necessary joined path to use Path from pathlib(Also using Path function such .exists/read-write_text etc - Using array of args for compatability when neces - Fix color as some string defined color are not set on linux - Fixing icon loading such as on the config window - Seperating some functions into windows/lunix specific to be imported depending on the os (ex: run script, show/hide_files, changing wallpaper, shortcut, startup toggle, screens' area - Custom linux panic - Fix: Don't use overrideredirect on popup for linux - Depency alart for specific for linux(libportaudiot, ffmpeg) that are not automatically installed. - Fix: Check if pip is installed even if the pip_installed isn't set.
- start.pyw: Bad variable affectation
…ing by a script. - Fix: use mutex for variables used across multiple threads
3b8baf0 to
8113f43
Compare
* fmt: black formatter * feat: Add .gitignore - Ignore logs - Ignore resources * fix: Add python cache to .gitignore * feat: First stable linux compatability - Replacing necessary joined path to use Path from pathlib(Also using Path function such .exists/read-write_text etc - Using array of args for compatability when neces - Fix color as some string defined color are not set on linux - Fixing icon loading such as on the config window - Seperating some functions into windows/lunix specific to be imported depending on the os (ex: run script, show/hide_files, changing wallpaper, shortcut, startup toggle, screens' area - Custom linux panic - Fix: Don't use overrideredirect on popup for linux - Depency alart for specific for linux(libportaudiot, ffmpeg) that are not automatically installed. - Fix: Check if pip is installed even if the pip_installed isn't set. * Fix: Adding try/except in cas discord isn't installed to not crash * Fix: Use the valid "win32" and not "windows" for os check. * Fix: Moving Dependencies into the mutual utils file. - start.pyw: Bad variable affectation * Fix: Windows shortcut creation for virtualenv python * fix/linux: Moving dependencies in its own file * Fix: import depencies for linux * Fix: Using multiprocessing socket to close all instances without passing by a script. - Fix: use mutex for variables used across multiple threads * Fix: Adding specific Windows kill as it doesn't have killpg * Fix/windows: Check for py/python/python3 executable not only py * Add support for MacOS * Update desktop shortcuts to work on MacOS --------- Co-authored-by: SassyOP <sassyop@proton.me> Co-authored-by: Sassy0P <126810860+Sassy0P@users.noreply.github.com>
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.
Wanting to be able to use the program on linux, I started to create a compatibility layer and fixes for it.
There are still tests to do(aka use it more & and tests for windows usage too). But here is a first draft.
Everything is said in the commits but here is a sample: