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