#!/bin/bash

chmod 777 /var/mobile/Library/Designer/
chmod 777 /var/mobile/Library/Designer/themes
chmod 777 /var/mobile/Library/Designer/exportedthemes
chmod 777 /var/mobile/Library/DesignerAssets
chmod 777 /var/mobile/Library/DesignerAssets/templates
chmod 777 /var/mobile/Library/DesignerAssets/chargingSequences
chmod 777 /var/mobile/Library/DesignerAssets/weatherIcons
chmod 777 /var/mobile/Library/DesignerAssets/signalImages
chmod 777 /var/mobile/Library/DesignerAssets/wifiImages

killall jwkservice || true
uicache -p /Applications/jwkservice.app