MCPcopy Create free account
hub / github.com/DonnieDice/protondrive-linux / main

Function main

scripts/patch_drive_linux_sync_bridge.py:174–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172
173
174def 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
185if __name__ == "__main__":

Calls 3

find_drive_providerFunction · 0.85
patch_drive_providerFunction · 0.85
failFunction · 0.70

Tested by

no test coverage detected