mirror of https://github.com/keeweb/keeweb.git
fix #1409: auto-type wrong character issues on Linux
This commit is contained in:
parent
d23d393c39
commit
22776e9088
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue