This commit is contained in:
BarsTiger
2021-12-02 21:23:31 +02:00
parent b9d3934409
commit 1127d7090d
9 changed files with 814 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
from os import chdir
from os.path import exists
from subprocess import Popen
from tkinter import Tk
from tkinter import simpledialog
from time import sleep
root_window = Tk()
root_window.withdraw()
if exists('license.key'):
key = open('license.key', 'r').read()
else:
key = simpledialog.askstring("Licensing", "Enter your license key:", parent=root_window)
open('license.key', 'w').write(key)
chdir('libs/')
Popen('calculimetrBase64.dll --license {0}'.format(key), shell=True)
sleep(0.1)