Skip to content

Commit

Permalink
v1.6: Increased python compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
deafmute1 committed Jan 22, 2025
1 parent f6553c6 commit fd659cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ A linkwarden client for alfred.

[Download Here](https://github.com/deafmute1/alfred-linkwarden/releases/latest/download/Linkwarden.Search.alfredworkflow)

Requires: Python. Tested on Python3.9+.

## Setup
1. Set linkwarden API key
2. Set instance URL
3. On first run, please allow the script some time (>1 min) to install dependancies in the background before it will display results.

## Usage
To display/search all links: `lw {query}`
Expand Down
6 changes: 2 additions & 4 deletions workflow/helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
set -a # export all vars following, including activation script
A_ENV_LOC="./env"
if [ ! -d "$A_ENV_LOC" ]; then

# for testing python compatibility
#/opt/homebrew/Cellar/[email protected]/3.9.21/bin/python3.9 -m venv "$A_ENV_LOC"
/opt/homebrew/Cellar/[email protected]/3.9.21/bin/python3.9 -m venv "$A_ENV_LOC"
#/opt/homebrew/Cellar/[email protected]/3.10.15/bin/python3.10 -m venv "$A_ENV_LOC"

/usr/bin/env python3 -m venv "$A_ENV_LOC"
#/usr/bin/env python3 -m venv "$A_ENV_LOC"
source "${A_ENV_LOC}/bin/activate"
pip3 install -r ./requirements.txt
fi
Expand Down

0 comments on commit fd659cd

Please sign in to comment.