Fix powershell example command
This commit is contained in:
parent
3d7b849e90
commit
6ae69c89c5
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ RunCommandConfig::RunCommandConfig(QObject *parent, const KPluginMetaData &data,
|
||||||
addSuggestedCommand(
|
addSuggestedCommand(
|
||||||
defaultMenu,
|
defaultMenu,
|
||||||
i18n("Say Hello"),
|
i18n("Say Hello"),
|
||||||
QStringLiteral("PowerShell -Command \"Add-Type –AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');\""));
|
QStringLiteral("PowerShell -Command Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');"));
|
||||||
#else
|
#else
|
||||||
addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("systemctl poweroff"));
|
addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("systemctl poweroff"));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("systemctl reboot"));
|
addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("systemctl reboot"));
|
||||||
|
|
Loading…
Reference in a new issue