Using Windshield Glass Waterproof spray as alternative to leather boots water proof protector spray??

Due to this uncertain time we are going through, I don't want to go outside to grab a leather boots waterproof spray. But I found a left over Rain-X windshield water proof spray in my shed, and wondering if it works okay as an alternative to leather boots waterproofing spray. I assume it should work fine because it's pretty much same silicone materials? anyone did this before?