private static void mainNoExceptionsCatch(String[] args) throws Exception {
    if (args.length != 1) throw new Exception("Expected one argument: path to application installation");

    Path target = Path.of(args[0]);
    if (isMac() && target.getFileName().toString().endsWith(".app")) {
      Path inner = target.resolve("Contents");
      if (Files.isDirectory(inner)) {
        target = inner;
      }
    }
    if (!Files.isDirectory(target)) throw new Exception("Not a directory: " + target);

    List<String> runnerArgs = new ArrayList<>();
    runnerArgs.add("apply");
    runnerArgs.add(args[0]);
    runnerArgs.add("--force-replace");
    if (Boolean.getBoolean(NO_BACKUP_PROPERTY)) {
      runnerArgs.add("--no-backup");
    }

    Locale.setDefault(Locale.ENGLISH);

    @SuppressWarnings({"SSBasedInspection", "RedundantSuppression"})
    var array = runnerArgs.toArray(new String[0]);
    Runner.main(array);
  }
private static void mainNoExceptionsCatch(String[] args)