dangerzone/install/pyinstaller/dangerzone
2022-08-22 10:15:26 +01:00

13 lines
325 B
Python
Executable file

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# After much terrible troubleshooting, turns out this is required to allow Dangerzone
# to open in macOS when double-clicking, not just when running from the terminal or opening
# with a file.
import os
os.environ["LANG"] = "en_US.UTF-8"
import dangerzone
dangerzone.main()