compatibility with wsl and windows #28
Open
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.
Add Windows and WSL Support for Arc Browser Data Access
Summary
This PR adds comprehensive support for Windows and Windows Subsystem for Linux (WSL) environments, enabling the Arc export script to automatically locate and process Arc Browser data on Windows systems.
Changes Made
🚀 New Features
/proc/versionfor Microsoft signatures/mnt/c/Users/...)TheBrowserCompany.Arc_*)--find-arcflag to debug and verify Arc data path location🔧 Improvements
📁 Path Resolution
The script now correctly handles Arc Browser data locations across platforms:
C:\Users\[USERNAME]\AppData\Local\Packages\TheBrowserCompany.Arc_*\LocalCache\Local\Arc\/mnt/c/Users/[USERNAME]/AppData/Local/Packages/TheBrowserCompany.Arc_*/LocalCache/Local/Arc/~/Library/Application Support/Arc/Technical Details
WSL Environment Detection
Windows Username Discovery
The script attempts multiple methods to find the correct Windows username:
/mnt/c/Users/as last resortArc Package Pattern Matching
Enhanced search patterns to handle Arc's Windows package naming:
TheBrowserCompany.Arc_*(matches packages likeTheBrowserCompany.Arc_ttt1ap7aakyb4)TheBrowserCompany.ArcTesting
✅ Tested on WSL2 Ubuntu with Arc Browser installed on Windows
TheBrowserCompany.Arc_ttt1ap7aakyb4Usage Examples
Debug Arc Installation
Export with Verbose Output
python3 main.py -v # Shows detailed WSL detection and path resolutionBackward Compatibility
✅ Fully backward compatible - all existing functionality for macOS and Linux remains unchanged
Error Handling
Enhanced error messages now provide platform-specific guidance:
Windows/WSL:
Future Considerations
Fixes: Resolves Windows compatibility issues
Closes: #[issue-number] (if applicable)