/*
 * Copyright (C) 2017 Adakite
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/*
Software versioning:

major.minor[.build[status]]

Statuses:
a for alpha
b for beta
rc for release candidate
omit for (final) release
*/

package droplauncher.util;

import adakite.util.AdakiteUtils;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * Constants class for global constants.
 */
public class Constants {

  public static final String PROGRAM_NAME = "DropLauncher";
  public static final String PROGRAM_VERSION = "0.2.20a";
  public static final String PROGRAM_AUTHOR = "Adakite";
  public static final String PROGRAM_TITLE = PROGRAM_NAME + " v" + PROGRAM_VERSION;
  public static final String PROGRAM_GITHUB = "https://github.com/AdakiteSystems/DropLauncher";
  public static final String PROGRAM_LICENSE = "AGPL 3.0";
  public static final String PROGRAM_LICENSE_LINK = "https://www.gnu.org/licenses/agpl-3.0.en.html";
  public static final String PROGRAM_DESC = "Designed to be a simple tool to aid players in setting up and playing 1v1 StarCraft: Brood War against BWAPI bots using Local Area Network (UDP) as the connection type.";
  public static final String PROGRAM_ABOUT
      = Constants.PROGRAM_NAME + AdakiteUtils.newline()
      + "Author: " + Constants.PROGRAM_AUTHOR + AdakiteUtils.newline()
      + "Version: " + Constants.PROGRAM_VERSION + AdakiteUtils.newline(2)
      + Constants.PROGRAM_DESC + AdakiteUtils.newline(2)
      + "License: " + Constants.PROGRAM_LICENSE + AdakiteUtils.newline()
      + Constants.PROGRAM_LICENSE_LINK + AdakiteUtils.newline(2)
      + "Source:" + AdakiteUtils.newline()
      + Constants.PROGRAM_GITHUB + AdakiteUtils.newline()
      ;

//  public static final String TEMP_DIRECTORY = Paths.get(System.getProperty("user.home"), "DropLauncher").toString();
  public static final String TEMP_DIRECTORY = "tmp";

  public static final Path DROPLAUNCHER_INI_PATH = Paths.get("droplauncher.ini");
  public static final String DROPLAUNCHER_INI_SECTION_NAME = "droplauncher";

  public static final Path JRE_DIR = Paths.get("jre");
  public static final Path JRE_EXE = JRE_DIR.resolve("bin").resolve("java.exe");

  private Constants() {}

}

@@ -1148,17 +1148,17 @@
 = %220.2.2
-0
+1
 a%22;%0A  pu

Update version to 0.2.21a