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