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.
New Folder Icons and Update Icon Script with PyObjC
Description
This pull request introduces new folder icons and updates the icon-setting script to utilize PyObjC for setting folder icons directly in macOS. This enhancement ensures more reliable and efficient handling of custom folder icons within the project.
Key Changes
Folder Icons
Script Update
set_folder_icon.sh
to use AppleScript for setting folder icons.set_folder_icon.py
.Organizer Update
organizer.py
to set custom folder icons for newly organized directories.Testing Coverage
Functional Tests
set_folder_icon.py
script correctly sets the folder icons using PyObjC.organizer.py
script correctly creates directories and sets their icons.How to Test
Run Tests
```bash
pip install -r requirements.txt
```
```bash
python src/organizer.py
```
Expected Output
Screenshots:
Not applicable.
Related Issues:
No related issues.
Checklist:
Conclusion:
This pull request improves the handling of custom folder icons in the project by utilizing PyObjC, ensuring a more robust and reliable implementation. The addition of new folder icons enhances the visual aspect of the project directories.