game's version is now in definition.py

This commit is contained in:
raphael60650 2021-06-03 21:58:59 +02:00
parent e410cc990a
commit 3e56c029ca
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,6 @@
from cx_Freeze import setup, Executable
import sys
import json
include_files = [
"./icon.ico",
@ -53,10 +54,13 @@ options = {
}
}
with open("./version") as f:
version = json.load(f)
setup(
options=options,
name='MKWF-Install',
version='0.3',
version=version["version"],
url='https://github.com/Faraphel/MKWF-Install',
license='Apache-2.0',
author='Faraphel',

View file

@ -3,6 +3,7 @@ get_nodir = lambda file: file.split("/")[-1].split("\\")[-1]
get_extension = lambda file: file.split(".")[-1]
CREATE_NO_WINDOW = 0x08000000
VERSION = "0.7"
def filecopy(src, dst):
with open(src, "rb") as f1: