Verified Commit 70b6371a authored by André's avatar André

Init: Remove os dependency

parent 7439bbd9
Pipeline #6710 passed with stages
in 4 minutes and 22 seconds
import os
import subprocess
import sys
from pathlib import Path
__version__ = "1.2.91"
IS_FLATPAK = False
if os.path.exists('/app/share/run-as-flatpak'):
IS_FLATPAK = True
IS_FLATPAK = Path('/app/share/run-as-flatpak').exists()
portable_path = Path(sys.executable).parent / 'is_portable'
IS_PORTABLE = portable_path.exists()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment