1
This commit is contained in:
19
x64-calculimetr_final_CRACK-by-BarsTiger/source/launcher.py
Normal file
19
x64-calculimetr_final_CRACK-by-BarsTiger/source/launcher.py
Normal 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)
|
||||
Reference in New Issue
Block a user