You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
453 B
20 lines
453 B
#!/bin/bash
|
|
# Script to update CopyQ installation on Windows.
|
|
build=${1:-"../build-copyq-Qt_4_8_5-Release"}
|
|
dst=${2:-"/c/dev/copyq"}
|
|
src=${3:-$PWD}
|
|
|
|
set -e
|
|
|
|
update() {
|
|
set -e
|
|
mkdir -p "${@: -1}"
|
|
cp -uv -- "$@"
|
|
}
|
|
|
|
update "$src"/{README.md,AUTHORS,HACKING,LICENSE} "$dst"
|
|
update "$src"/shared/themes/*.ini "$dst/themes"
|
|
update "$build"/copyq.exe "$dst"
|
|
update "$build"/plugins/*.dll "$dst/plugins"
|
|
update "$build"/src/*.qm "$dst/translations"
|