diff --git a/.DS_Store b/.DS_Store index d38c0cd..b7ec011 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 55d64cc..072c8bb 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -39,20 +39,21 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - echo $MIXPANEL_TOKEN + python -m pip install --upgrade pip pip install py2app if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if: matrix.os == 'macos' || matrix.os == 'self-hosted' - name: Generate app for intel architecture run: | + export MIXPANEL_TOKEN=${{ env.MIXPANEL_TOKEN }} python setup.py py2app mv dist dist-intel if: matrix.os == 'macos' && matrix.arch == 'X64' - name: Generate app for arm64 architecture run: | + export MIXPANEL_TOKEN=${{ env.MIXPANEL_TOKEN }} python setup.py py2app mv dist dist-arm64 if: matrix.os == 'self-hosted' && matrix.arch == 'ARM64' diff --git a/hamster/menu.py b/hamster/menu.py index abb7ab4..226602d 100644 --- a/hamster/menu.py +++ b/hamster/menu.py @@ -34,6 +34,7 @@ def track(ids, menu_item): telemetry_enabled = get_telemetry_config() + def decorator(func): @wraps(func) def wrapper(*args, **kwargs):