private void codesign()

in src/main/java/org/apache/netbeans/nbpackage/macos/AppBundleTask.java [343:357]


    private void codesign(Path file, Path entitlements, String id)
            throws IOException {
        try {
            context().exec("codesign",
                    "--force",
                    "--timestamp",
                    "--options=runtime",
                    "--entitlements", entitlements.toString(),
                    "-s", id,
                    "-v",
                    file.toString());
        } catch (InterruptedException ex) {
            throw new IOException(ex);
        }
    }