Submitting fixes and adding new features - #107
Open
hasanshinnar wants to merge 5 commits into
Open
Conversation
- Removed unnecessary imports and streamlined the code in organiseDesktop.py. - Introduced a function to get the desktop path based on the operating system. - Simplified the initialization of the OrganiseDesktop class and its methods. - Enhanced the mover method to prioritize sorting based on patterns and extensions. - Updated the logging mechanism to write to a log file more efficiently. - Created a new environment.py file to handle environment setup and package configuration. - Removed the setup.py file and integrated its functionality into environment.py. - Added Extension_Sources.md to document sources for file extensions. - Updated run.py to launch the desktop organizer with improved environment checks.
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 documents and consolidates a series of improvements made to the fork. No original logic was removed; changes focus on modernization, cross-platform support, and code organization.
Changes
New Files
activate.batWindows-friendly activation script, mirrors the existingactivate.shflowrun.pySingle entry point to run both setup and the main script in one commandExtension_Sources.mdExtracted extension definitions out oforganiseDesktop.pyfor cleaner separationModified Files
DockerfileClean.pyroot.resizableandpositionconstraints for better layout flexibilityCronController.pyorganiseDesktop.pylist_directory_content()intomover()to reduce overhead_PatternRules: matches files by exact name in addition to extensionExtension.json_PatternRulesentries to support exact filename matchingRenamed
setup.py→environment.pyto avoid conflict with Python's built-insetup.pyconventionREADME
Testing
activate.bat(Windows) andactivate.sh(Linux)_PatternRulesentries