Flashing Photon without internet

You're confusing two things. The Particle Dev (offline IDE), works by compiling the code in the cloud, after which it gets the compiled .bin back. For that, you indeed need internet access. Should you wish to compile locally, you'll have to set up a local toolchain, Luckily, @mumblepins was kind enough to create a windows installer:

If you want to flash them wirelessly without internet, you can set up a local cloud: