Bump to v4 (upstream v0.4.3)

Bump to v4 (upstream v0.4.3)

@0xc3217fd74cd95974;

using Spk = import "/sandstorm/package.capnp";

const pkgdef :Spk.PackageDefinition = (
  id = "0s6hcw325yjs22c03hh09uyr0wxy8r09qet34637kep6tncfh9uh",

  manifest = (
    appVersion = 4,

    actions = [
      ( title = (defaultText = "New Mailpile Mailbox"),
        command = .myCommand
      )
    ],

    continueCommand = .myCommand
  ),

  sourceMap = (
    searchPath = [
      ( sourcePath = "." ),
      # Include source directory.

      ( sourcePath = "/opt/sandstorm/latest/usr/include/sandstorm" ),
      # Include Sandstorm protocol schemas (especially email.capnp).

      ( sourcePath = "/bin/busybox", packagePath = "bin/sh" ),
      # Map bin/sh to busybox.

      ( sourcePath = "/", hidePaths = [ "home", "proc", "sys", "lib/x86_64-linux-gnu/libnss_myhostname.so.2" ] ),
      ( sourcePath = "/opt/sandstorm/latest/usr/include", packagePath = "usr/include" )
      # Map root dir.
    ]
  ),

  fileList = "sandstorm-files.list",
  alwaysInclude = [ "mailpile", "plugins", "static" ]
);

const myCommand :Spk.Manifest.Command = (
  argv = ["/sandstorm-http-bridge", "33411", "--", "/run-sandstorm.sh"],
  environ = [
    (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
    (key = "PYTHONPATH", value = "/usr/include")
  ]
);

@0xc3217fd74cd95974;

using Spk = import "/sandstorm/package.capnp";

const pkgdef :Spk.PackageDefinition = (
  id = "0s6hcw325yjs22c03hh09uyr0wxy8r09qet34637kep6tncfh9uh",

  manifest = (
    appVersion = 2,

    actions = [
      ( title = (defaultText = "New Mailpile Mailbox"),
        command = .myCommand
      )
    ],

    continueCommand = .myCommand
  ),

  sourceMap = (
    searchPath = [
      ( sourcePath = "." ),
      # Include source directory.

      ( sourcePath = "/opt/sandstorm/latest/usr/include/sandstorm" ),
      # Include Sandstorm protocol schemas (especially email.capnp).

      ( sourcePath = "/bin/busybox", packagePath = "bin/sh" ),
      # Map bin/sh to busybox.

      ( sourcePath = "/", hidePaths = [ "home", "proc", "sys", "lib/x86_64-linux-gnu/libnss_myhostname.so.2" ] )
      # Map root dir.
    ]
  ),

  fileList = "sandstorm-files.list",
  alwaysInclude = [ "mailpile", "plugins", "static" ]
);

const myCommand :Spk.Manifest.Command = (
  argv = ["/sandstorm-http-bridge", "33411", "--", "/run-sandstorm.sh"],
  environ = [
    (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin")
  ]
);