thg: avoid referencing `__file__` in the main script in frozen builds
I got this when launching WorkBench on Windows (macOS seemed OK): Traceback (most recent call last): File "thg", line 16, in <module> NameError: name '__file__' is not defined It looks like this broke in 326e8dde97a9, as `__file__` was avoided in forzen builds prior to that.
Showing
Please register or sign in to comment