This script has been depreciated as newer versions of AUTOMATIC1111's stable diffusion webui work offline out of the box.
Allows you to launch stable diffusion webui based off this hacky solution by @kiancn but made to update itself every time you launch it so that if you update webui it shouldn't break.
To use this simply drag and drop these into your base directory then use webui-user-offline.bat to launch in offline mode (also don't forget to add your COMMANDLINE_ARGS to webui-user-offline.bat)