extract config for pc/mobile