Add scripts\phar\stub::getResourcesDirectory() and remove '-i' argument in the runner.