Need command line in repo! how?

Discussion in 'iOS Jailbreak & Cydia' started by mlbplayer456, Mar 24, 2008.

  1. mlbplayer456

    mlbplayer456 Banned

    Joined:
    Nov 11, 2007
    Messages:
    978
    Likes Received:
    6
    ANOTHER UPDATE: So i just had to change the permissions of the FOLDER and the files in it to 755, it was at 700. But how do i put command lines in my repo so the app can work?


    UPDATE: Ok, so i just found out i put them in the wrong place, i put the gba emu in the nes file and the nes in the gba, but it still didn't show up, then i changed the permissions and it still didn't show up. help me!

    Ok so i have the gba emulator, the nes emulator and the nes roms pack (more to come!) and when i download them from installer they don't show up on the springboard, i know that the gpsphone needs to have the permissions set to 755 but do the others? How do i do this? I heard you have to have <key>Exec</key> then the command. I tried that but it didn't work. here's my repo:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>info</key>
        <dict>
          <key>name</key>
          <string>Nick's Repo</string>
          <key>description</key>
          <string>My brand new repo, more to come!</string>
          <key>maintainer</key>
          <string>Nick</string>
          <key>contact</key>
          <string>twc779@gmail.com</string>
          <key>url</key>
          <string>http://njpilla.googlepages.com</string>
          <key>category</key>
          <string>Nick's Repo</string>
        </dict>
        <key>packages</key>
    <array>
    <dict>
            <key>bundleIdentifier</key>
            <string>com.romspack.njpilla</string>
            <key>name</key>
            <string>NES roms pack</string>
            <key>version</key>
            <string>1.0</string>
            <key>location</key>
            <string>http://njpilla.googlepages.com/NES.zip</string>
            <key>category</key>
            <string>Nick's Packages</string>
            <key>size</key>
            <string>6146918</string>
            <key>hash</key>
            <string>3eb160275a752ac8e1294801732230f4</string>
            <key>url</key>
            <string>http://njpilla.googlepages.com/NES.zip</string>
            <key>description</key>
            <string>More than 50 Nes Roms!</string>
            <key>date</key>
            <string>1206077694</string>
            <key>scripts</key>
            <dict>
              <key>install</key>
              <array>
                <array>
                 <string>Notice</string>
                 <string>Please donate through paypal to twc779@gmail.com! Thanks!</string>
                </array>
                <array>
                  <string>CopyPath</string>
                  <string>/var/mobile/Media/ROMs/NES</string>
                  <string>/var/mobile/Media/ROMs/NES</string>
                </array>
              </array>
              <key>uninstall</key>
              <array>
                <array>
                  <string>RemovePath</string>
                  <string>/var/mobile/Media/ROMs/NES</string>
                </array>
              </array>
            </dict>
          </dict>
    <dict>
            <key>bundleIdentifier</key>
            <string>com.nesemu.njpilla</string>
            <key>name</key>
            <string>NES emulator</string>
            <key>version</key>
            <string>1.0</string>
            <key>location</key>
            <string>http://njpilla.googlepages.com/NESem.zip</string>
            <key>category</key>
            <string>Nick's Packages</string>
            <key>size</key>
            <string>366058</string>
            <key>hash</key>
            <string>07c64a2cf432b2751f3648f12fc84142</string>
            <key>url</key>
            <string>http://njpilla.googlepages.com/NESem.zip</string>
            <key>description</key>
            <string>The NES emulator for iPhone/iPod touch</string>
            <key>date</key>
            <string>1206081215</string>
            <key>scripts</key>
            <dict>
              <key>install</key>
              <array>
                <array>
                  <string>CopyPath</string>
                  <string>NES.app</string>
                  <string>/Applications/gpSPhone.app</string>
                </array>
              </array>
              <key>uninstall</key>
              <array>
                <array>
                  <string>RemovePath</string>
                  <string>/Applications/gpSPhone.app</string>
                </array>
              </array>
            </dict>
          </dict>
    <dict>
            <key>bundleIdentifier</key>
            <string>com.gbaemu.njpilla</string>
            <key>name</key>
            <string>GBA emulator</string>
            <key>version</key>
            <string>1.5.0</string>
            <key>location</key>
            <string>http://njpilla.googlepages.com/gpSPhone.zip</string>
            <key>category</key>
            <string>Nick's Packages</string>
            <key>size</key>
            <string>466398</string>
            <key>hash</key>
            <string>69743e3562e8ca33a753ff07b92d17ee</string>
            <key>url</key>
            <string>http://njpilla.googlepages.com/gpSPhone.zip</string>
            <key>description</key>
            <string>The GBA emulator for iPhone/iPod touch</string>
            <key>date</key>
            <string>1206242095</string>
            <key>scripts</key>
            <dict>
              <key>install</key>
              <array>
                <array>
                  <string>CopyPath</string>
                  <string>gpSPhone.app</string>
                  <string>/Applications/NES.app</string>
                </array>
              </array>
              <key>uninstall</key>
              <array>
                <array>
                  <string>RemovePath</string>
                  <string>/Applications/NES.app</string>
                </array>
              </array>
            </dict>
          </dict>
        </array>
      </dict>
    </plist>
    
    thanks to everyone who helps.
  2. rickatnight11

    rickatnight11 New Member

    Joined:
    Dec 2, 2007
    Messages:
    477
    Likes Received:
    8
    Code:
    <array>
    <string>Exec</string>
    <string>/bin/chmod -R 755 /whatever/directory/you/want</string>
    </array>
    All command-line code commands are stored in /bin/ so you just have to execute it like an application like it is above.

Share This Page