Feature/GitHub releases documentation#9
Merged
securebitsorg merged 3 commits intomainfrom Sep 8, 2025
Merged
Conversation
added 3 commits
September 8, 2025 06:14
…ting guide - Fix missing executable by reinstalling with pip install -e . - Reinstall desktop integration with proper file paths - Update desktop database and icon cache - Add detailed troubleshooting guide for future issues - Document alternative solutions for persistent problems - Provide step-by-step diagnosis commands
- Add comprehensive version detection with multiple fallback strategies - Implement get_version() function with priority order: 1. __version__.py import 2. VERSION file reading 3. pyproject.toml parsing 4. Git tag detection (git describe --tags --abbrev=0) 5. Fallback to current version - Synchronize all version files to 1.9.1 (latest GitHub release) - Update VERSION, __version__.py, and pyproject.toml consistently - Add comprehensive version management documentation - Ensure app always displays current GitHub release version - Fix version display issue showing outdated 1.2.1
- Add proper spacing after function definition - Format import statements with consistent spacing - Standardize function argument formatting in subprocess.run - Use double quotes consistently for string literals - Add blank lines for better code structure
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, please upgrade to Bugbot Pro by visiting the Cursor dashboard. Your first 14 days will be free!
| pass | ||
|
|
||
| # 5. Fallback | ||
| return "1.9.0" |
There was a problem hiding this comment.
Bug: Version Detection Inconsistency
The get_version() function has two issues: lstrip("v") for Git tags incorrectly removes all 'v' characters from the left, potentially malforming version strings. Additionally, the hardcoded fallback version "1.9.0" is inconsistent with the "1.9.1" used in other version sources, leading to an outdated version being reported if dynamic detection fails.
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.
No description provided.