Skip to content

Commit

Permalink
0.9.28
Browse files Browse the repository at this point in the history
  • Loading branch information
vinifmor authored Feb 14, 2022
2 parents 7e5159f + edfa1f7 commit a6f5c25
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.9.28] 2022-02-14

### Fixes
- Distribution
- AppImage: not able to detect updates on the **tray mode** because the `bauh-cli` call was referencing the system's Python interpreter instead of the containerized one [#230](https://github.com/vinifmor/bauh/issues/230)


## [0.9.27] 2022-02-11

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion bauh/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.9.27'
__version__ = '0.9.28'
__app_name__ = 'bauh'

import os
Expand Down
4 changes: 2 additions & 2 deletions bauh/view/qt/systray.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

def get_cli_path() -> str:
if os.getenv('APPIMAGE'):
return CLI_NAME
return f"{os.environ['APPRUN_STARTUP_EXEC_PATH']} {os.environ['APPDIR']}usr/bin/{CLI_NAME}"

venv = os.getenv('VIRTUAL_ENV')

Expand All @@ -51,7 +51,7 @@ def get_cli_path() -> str:
def list_updates(logger: logging.Logger) -> List[PackageUpdate]:
cli_path = get_cli_path()
if cli_path:
exitcode, output = system.execute(f'{cli_path} updates -f json', custom_env=dict(os.environ))
exitcode, output = system.execute(f'{cli_path} updates -f json')

if exitcode != 0:
output_log = output.replace('\n', ' ') if output else ' '
Expand Down
1 change: 0 additions & 1 deletion linux_dist/appimage/AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ AppDir:
runtime:
version: "continuous"
env:
PATH: '${APPDIR}/usr/bin:${PATH}'
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'

Expand Down

0 comments on commit a6f5c25

Please sign in to comment.