static String getApparmorProfile() {
    String executablePath = ProcessHandle.current().info().command().orElse(null);
    if (executablePath == null) {
      LOG.warn("Can't generate the apparmor profile for JCEF: failed to find the executable path");
      return null;
    }

    return """
      # This profile is autogenerated by %s to allow running sandboxed JCEF
      abi <abi/4.0>,
      include <tunables/global>
      
      profile %s flags=(unconfined) {
        userns,
      
        include if exists <local/chrome>
      }
      """.formatted(ApplicationNamesInfo.getInstance().getFullProductNameWithEdition(), executablePath).stripIndent();
  }
static String getApparmorProfile()