()
| 172 | |
| 173 | |
| 174 | def main() -> None: |
| 175 | if not WEBCLIENTS_DIR.exists(): |
| 176 | fail("WebClients directory is missing") |
| 177 | |
| 178 | provider_path = find_drive_provider() |
| 179 | bridge_path = provider_path.parent / BRIDGE_FILENAME |
| 180 | bridge_path.write_text(BRIDGE_SOURCE, encoding="utf-8") |
| 181 | patch_drive_provider(provider_path) |
| 182 | print(f" ✓ Installed Proton Drive Linux sync bridge at {bridge_path.relative_to(WEBCLIENTS_DIR)}") |
| 183 | |
| 184 | |
| 185 | if __name__ == "__main__": |
no test coverage detected