Skip to content

Conversation

@Suyunmeng
Copy link
Contributor

closed #136
Remove bundled rclone binary from Linux packages to avoid package manager conflicts; users should install rclone via system package manager or from rclone.org. Added installation tip UI for Linux users when rclone is not detected.

- Remove rclone from externalBin in tauri.conf.json and tauri.linux.conf.json
- Add rclone as recommends dependency in deb/rpm packages
- Modify get_rclone_binary_path() to fallback to system PATH on Linux/macOS
- Skip rclone download in prepare.js for Linux platform

This prevents package conflicts when users install rclone from system package manager.
- Add check_rclone_available command in Rust backend
- Add rcloneAvailable state and checkRcloneAvailable method in rclone store
- Add TauriAPI.rclone.backend.isAvailable() API call
- Add rclone installation tip UI for Linux users when rclone is not found
- Add i18n texts for rclone tip in en.json and zh.json
- Add CSS styles for rclone-tip component
@Suyunmeng Suyunmeng force-pushed the feat/remove-bundled-rclone-linux branch from b449752 to feb50d9 Compare December 2, 2025 14:07
- Change overrides to resolutions (yarn compatibility)
- Add js-yaml >=4.1.1 to fix prototype pollution vulnerability
- Add glob >=10.5.0 to fix command injection vulnerability
- Keep tmp >=0.2.4 to fix arbitrary file write vulnerability
- Add externalBin to tauri.windows.conf.json with openlist and rclone
- Add externalBin to tauri.macos.conf.json with openlist and rclone
- Ensures rclone is properly bundled with the app on these platforms
- Linux already has externalBin but excludes rclone (installed via package manager)
- Windows/macOS: get rclone from bundled binary
- Linux: get rclone from system PATH only (not bundled)
- Update error message to suggest package manager installation
@Suyunmeng Suyunmeng merged commit 106120d into main Dec 3, 2025
11 checks passed
@Suyunmeng Suyunmeng deleted the feat/remove-bundled-rclone-linux branch December 3, 2025 13:35
@elysia-best elysia-best linked an issue Dec 5, 2025 that may be closed by this pull request
3 tasks
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.

[问题] 是否可以移除deb包中自带的rclone命令? [错误] Fedora Atomic 系统下无法安装 rpm 包

3 participants