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

Improvement of Gnome Extension Detection Logic #15

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

iberianpig
Copy link
Owner

  • Improved the Gnome extension detection logic to display appropriate warning messages when the extension is disabled.
  • Dropped the matcher related to older Gnome versions, enhancing the code's cleanliness and maintainability.
  • Added tests for the installation and uninstallation features of the Gnome extension.

ref: iberianpig/fusuma#323
ref: iberianpig/fusuma#332

@iberianpig iberianpig force-pushed the improve-gnome-extension-matcher branch from eba4118 to f7d1a23 Compare February 18, 2025 15:47
- Added `enabled?` method to check if the Gnome Shell extension is enabled.
- Improved `backend_klass` method to log a warning if the Gnome extension is not enabled.
- Updated the installer path handling for better clarity and maintainability.
- Added RSpec tests for the new `enabled?` method, covering scenarios for when the extension is enabled and when it is not.
- Enhanced existing tests for install and uninstall methods to ensure they correctly reflect the extension management logic.

ref: iberianpig/fusuma#332
closes: iberianpig/fusuma#323
@iberianpig iberianpig force-pushed the improve-gnome-extension-matcher branch from f7d1a23 to 63c463e Compare February 18, 2025 16:02
@iberianpig iberianpig merged commit 4596650 into main Feb 18, 2025
4 checks passed
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.

1 participant