version 1.2

This commit is contained in:
John Gebbie 2023-02-06 11:40:01 +00:00
parent 5230969381
commit bc16ae7fe0
2 changed files with 12 additions and 2 deletions

View file

@ -2,6 +2,17 @@
Notable changes to dotool will be documented in this file.
## [1.2](https://git.sr.ht/~geb/dotool/refs/1.2)
### Added
- Added X11 and sway config files for the virtual keyboard's layout.
- Added ./\_install.sh for packaging the basic files.
### Fixed
- Stopped some x: keys simulating shift.
## [1.1](https://git.sr.ht/~geb/dotool/refs/1.1)
### Added
@ -11,7 +22,6 @@ Notable changes to dotool will be documented in this file.
### Changed
- The install script is now suitable for packaging and sets --version.
- There is now a default keydelay, keyhold, typedelay and typehold.
- Delays now come after keypresses not before.
- Now aborts if there are any command-line arguments.

View file

@ -1,6 +1,6 @@
#!/bin/sh
# ./install.sh [DESTDIR] [BINDIR]
: "${DOTOOL_VERSION=$(git describe --long --abbrev=12 --tags --dirty 2>/dev/null || echo 1.1)}"
: "${DOTOOL_VERSION=$(git describe --long --abbrev=12 --tags --dirty 2>/dev/null || echo 1.2)}"
go build -ldflags "-X main.Version=$DOTOOL_VERSION" || exit
mkdir -p "$1/${2:-usr/local/bin}" || exit
cp -v dotool "$1/${2:-usr/local/bin}" || exit