fix #1409: auto-type wrong character issues on Linux

pull/1541/head
antelle 2020-06-09 20:39:09 +02:00
parent d23d393c39
commit 22776e9088
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 5 additions and 1 deletions

View File

@ -144,10 +144,13 @@ AutoTypeEmitter.prototype.modString = function () {
};
AutoTypeEmitter.prototype.runScript = function (script, callback) {
// xdotool doesn't like it when stdin doesn't end with a linebreak
// see https://github.com/keeweb/keeweb/issues/1409
const data = script + '\n';
Launcher.spawn({
cmd: 'xdotool',
args: ['-'],
data: script,
data,
complete: (err, stdout, code) => {
if (err && err.code === 'ENOENT') {
err = Locale.autoTypeErrorNotInstalled.replace('{}', 'xdotool');

View File

@ -6,6 +6,7 @@ Release notes
`+` possibility to debug startup with `--start-logging`
`*` updated electron version
`-` fixed duplicated YubiKeys displayed in file settings
`-` fix #1409: auto-type wrong character issues on Linux
##### v1.15.1 (2020-06-07)
`-` fix #1528: OTP generation for stored values