blob: 1b090d13703971bdd4b5bd4d62c64ebf7d244670 (
plain)
1
2
3
4
5
6
7
8
9
|
import sys
from pathlib import Path
__version__ = '1.7.0'
IS_FLATPAK = Path('/app/share/run-as-flatpak').exists()
portable_path = Path(sys.executable).parent / 'is_portable'
IS_PORTABLE = portable_path.exists()
|