This script solves the main problem for users in restricted regions (RU/BY/CN) when launching Google´s new IDE — the "Your Current Account Is Not Eligible" error.
Google blocks access to AI features if it detects your system is in a sanctioned region (checking timezone, system language, and locale), even if you bought a clean foreign account.
Who needs this?
1. No subscription? No problem. The tool works with standard free Google accounts. You don´t need a paid Antigravity subscription.
2. Have a foreign account? Protect it. Without the patch, the IDE will detect you are in a restricted region and block access. With the patch, you look like a legitimate user.
3. Was working but stopped? If you used your account without issues but suddenly got the "Not Eligible" block — the IDE´s local protection triggered. The patch removes this error, and you can work peacefully again.
COMPATIBILITY:
- Windows (10/11)
- macOS
- Linux
⚠️ IMPORTANT (Must Read):
To use AI models, you need a NON-restricted Google account (US/EU/etc).
The patch allows you to safely use this account from a restricted region, hiding your real location from the application itself.
Without patch: Login from restricted PC -> IDE sees local locale/timezone -> "Not Eligible".
With patch: Login from restricted PC -> IDE thinks everything is fine -> You work.
No feedback yet