@quadient/skillshare 1.17.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,6 +112,8 @@ function systemdQuote(value) {
112
112
  /** A systemd user service, started with the user's session and again whenever it fails. */
113
113
  export function systemdUnit(config, appDir) {
114
114
  const paths = servicePaths(appDir);
115
+ // WorkingDirectory takes a literal path (including spaces), not a quoted command argument.
116
+ const workingDirectory = appDir.replace(/%/g, '%%');
115
117
  return `[Unit]
116
118
  Description=Skillshare agents listener
117
119
  After=network-online.target
@@ -119,7 +121,7 @@ After=network-online.target
119
121
  [Service]
120
122
  Type=simple
121
123
  ExecStart=${systemdQuote(config.node)} ${systemdQuote(paths.launcher)}
122
- WorkingDirectory=${systemdQuote(appDir)}
124
+ WorkingDirectory=${workingDirectory}
123
125
  Restart=on-failure
124
126
  RestartSec=30
125
127
  StandardOutput=append:${paths.output}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadient/skillshare",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Skillshare CLI for installing and publishing Quadient skills",
5
5
  "type": "module",
6
6
  "bin": {