* @brief Doubles literal `%` so the launcher does not treat them as field codes. */
| 60 | * @brief Doubles literal `%` so the launcher does not treat them as field codes. |
| 61 | */ |
| 62 | static QString escapeExecPercent(const QString& value) |
| 63 | { |
| 64 | QString out = value; |
| 65 | out.replace(QLatin1Char('%'), QStringLiteral("%%")); |
| 66 | return out; |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * @brief Writes a freedesktop.org Desktop Entry that launches Serial Studio with args. |