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