public static void writeOptionsForRestartIfNeeded(@NotNull Logger log) {
    if (isFirstSession() && isConfigImported()) {
      writeOptionsForRestart(PathManager.getConfigDir(), log);
    }
  }
public static void writeOptionsForRestartIfNeeded(@NotNull Logger log)