graph TB
subgraph Legend
LegendLegacy("Legacy environment (deprecated). \n .lic file in either the program folder \n or another folder specified by an environment variable.\n Can be overridden by a .lic in the Application Data folder \n if it is 'newer' or for an upgraded product"):::LegacyPath
LegendGreen(Single user environment. \n .lic file in Applcation Data folder \n installed using 'Add Key File' in GUI. \n This .lic can be updated automatically if connected to the internet.):::GreenPath
LegendServer(With a license server. \n Servers are queried only if there is no valid local license.):::ServerPath
end
subgraph GetLocal[Get License From Key File]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import os.path | |
| import re | |
| import subprocess | |
| import sys | |
| class TerragenExe: | |
| exe_folder = '' | |
| exe_filename = '' |