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