Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.
main ... v1.0.0

3 changed files with 2 additions and 3 deletions

View file

@ -51,4 +51,4 @@ Upload clipboard image:
- Shows a preview of the uploaded image.
## License
[BSD-3](LICENSE)
[MIT](LICENSE)

View file

@ -1,4 +1,4 @@
VENV_DIR="$HOME/.config/grabIT/.venv"
VENV_DIR="$SCRIPT_DIR/.venv"
setup_venv() {
if [[ ! -d "$VENV_DIR" ]]; then

View file

@ -1,7 +1,6 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
[[ "$SCRIPT_DIR" == "/usr/bin" ]] && SCRIPT_DIR="/usr/share/grabit"
source "$SCRIPT_DIR/helpers/variables.sh"
source "$SCRIPT_DIR/helpers/installer.sh"