Need help with backup code!!! ANYONE!!! mods, chrib, ipodtouchacker, somebody?

Discussion in 'iOS Jailbreak & Cydia' started by gojohnnyboi, Feb 13, 2008.

  1. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    ok i made a sip-voip skins repo but i wanted to make it so when you installed it would create a backup of the original icon and default and skins folder so that when you uninstalled it would place back the backups so that the app still worked...


    Heres my code but i get script exec failed. any suggestions to change?


    Code:
     <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/skins/touchmods/</string> 
      <string>/Applications/SIP-VoIP.app/skins/touchmods.backup</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/icon.png</string> 
      <string>/Applications/SIP-VoIP.app/icon.backup</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/Default.png</string> 
      <string>/Applications/SIP-VoIP.app/Default.backup</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>sipskin1/touchmods/</string> 
      <string>/Applications/SIP-VoIP.app/skins/touchmods</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>sipskin1/default/</string> 
      <string>/Applications/SIP-VoIP.app</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>sipskin1/icon/</string> 
      <string>/Applications/SIP-VoIP.app</string> 
      </array>
      </array>
      <key>uninstall</key> 
    - <array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/SIP-VoIP.app/Default.png</string> 
      <string>/Applications/SIP-VoIP.app/skins/touchmods</string> 
      <string>/Applications/SIP-VoIP.app/icon.png</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/icon.backup/</string> 
      <string>/Applications/SIP-VoIP.app</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/Default.backup/</string> 
      <string>/Applications/SIP-VoIP.app</string> 
      </array>
    - <array>
      <string>CopyPath</string> 
      <string>/Applications/SIP-VoIP.app/touchmods.backup/</string> 
      <string>/Applications/SIP-VoIP.app</string> 
      </array>
    - <array>
      <string>RemovePath</string> 
      <string>/Applications/SIP-VoIP.app/icon.backup</string> 
      <string>/Applications/SIP-VoIP.app/touchmods.backup</string> 
      <string>/Applications/SIP-VoIP.app/Default.backup</string> 
      </array>
      </array>

Share This Page