mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[flatpak] fix -> some env vars not available during the launch process
This commit is contained in:
@@ -76,7 +76,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.7/flatpak_refs.png">
|
||||
</p>
|
||||
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall)
|
||||
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall, launch)
|
||||
- minor fixes
|
||||
- Snap
|
||||
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall, launch)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import traceback
|
||||
@@ -384,7 +385,7 @@ def list_remotes() -> Dict[str, Set[str]]:
|
||||
|
||||
|
||||
def run(app_id: str):
|
||||
subprocess.Popen(['flatpak', 'run', app_id])
|
||||
subprocess.Popen(['flatpak run {}'.format(app_id)], shell=True, env={**os.environ})
|
||||
|
||||
|
||||
def map_update_download_size(app_ids: Iterable[str], installation: str, version: str) -> Dict[str, int]:
|
||||
|
||||
Reference in New Issue
Block a user