CNIRevelator/src/globs.py

58 lines
3.2 KiB
Python
Raw Normal View History

# -*- coding: utf8 -*-
2019-07-09 16:13:16 +02:00
"""
********************************************************************************
* CNIRevelator *
* *
* Desc: Application launcher global variables *
* *
* Copyright © 2018-2019 Adrien Bourmault (neox95) *
* *
* This file is part of CNIRevelator. *
* *
* CNIRevelator is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* any later version. *
* *
* CNIRevelator 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 General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with CNIRevelator. If not, see <https:*www.gnu.org/licenses/>. *
********************************************************************************
"""
import os
# CNIRevelator version
verType = "stable release"
version = [3, 1, 6]
2019-08-05 15:52:02 +02:00
verstring_full = "{}.{}.{} {}".format(version[0], version[1], version[2], verType)
2019-07-09 16:43:47 +02:00
verstring = "{}.{}".format(version[0], version[1])
2019-07-09 16:13:16 +02:00
CNIRTesserHash = "947224361ffab8c01f05c9394b44b1bd7c8c3d4d"
2019-08-27 16:49:01 +02:00
CNIRGitToken = "mJHKXqnazO/xZ9Fs18SDMqcGJ15A27OlZyd27cDe5dhHKklO2YShdWwUgEDUZQI02kpgYaLceMidTK37ZqakW+VYgPPuh0e9Ry2IH0KHc3o="
2019-08-12 18:11:56 +02:00
CNIRFolder = os.path.dirname(os.path.realpath(__file__))
2019-07-09 16:43:47 +02:00
CNIRLColor = "#006699"
CNIRName = "CNIRevelator {}".format(verstring)
CNIRCryptoKey = '82Xh!efX3#@P~2eG'
2019-08-19 17:56:23 +02:00
CNIRLangFile = CNIRFolder + '\\config\\lang.ig'
CNIRlang = "fr"
2019-07-09 16:13:16 +02:00
2019-07-09 16:43:47 +02:00
CNIRConfig = CNIRFolder + '\\config\\conf.ig'
2019-08-20 18:38:22 +02:00
CNIRTesser = CNIRFolder + '\\Tesseract-OCR5\\'
2019-07-09 16:43:47 +02:00
CNIRErrLog = CNIRFolder + '\\logs\\error.log'
2019-07-11 11:16:41 +02:00
CNIRMainLog = CNIRFolder + '\\logs\\main.log'
2019-07-09 16:43:47 +02:00
CNIRUrlConfig = CNIRFolder + '\\config\\urlconf.ig'
CNIRLastUpdate = CNIRFolder + '\\config\\lastupdate.ig'
2019-07-09 16:43:47 +02:00
CNIRVerStock = CNIRFolder + '\\downloads\\versions.lst'
2019-07-12 10:57:03 +02:00
CNIREnv = CNIRFolder + '\\Data\\'
2019-08-19 17:56:23 +02:00
CNIRBetaURL = "https://raw.githubusercontent.com/neox95/CNIRevelator/v3.1/VERSIONS.LST"
CNIRDefaultURL = "https://raw.githubusercontent.com/neox95/CNIRevelator/master/VERSIONS.LST"
CNIRNewVersion = False
CNIROpenFile = False
debug = True