Skip to content

Commit

Permalink
chore: added portable to hunspell on Windows
Browse files Browse the repository at this point in the history
Ref: #194
  • Loading branch information
GeraldineGomez committed Jul 31, 2024
1 parent 6dc9e74 commit 1cf3e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
curl -L -o "es-ES.dic" https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.dic
mv es-ES.aff es-ES.dic ~/Library/Spelling/
elif [[ $RUNNER_OS == 'Windows' ]]; then
choco install hunspell
choco install hunspell.portable
Invoke-WebRequest -Uri "https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.aff" -OutFile "es-ES.aff"
Invoke-WebRequest -Uri "https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.dic" -OutFile "es-ES.dic"
Expand-Archive -Path "es-ES.aff" -DestinationPath "$env:LOCALAPPDATA/hunspell/dictionaries"
Expand Down

0 comments on commit 1cf3e88

Please sign in to comment.