loadtoagent 1.3.2 → 1.3.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loadtoagent",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "A local desktop dashboard for Claude, Codex, Gemini, and Grok sessions.",
5
5
  "main": "main.js",
6
6
  "author": "wincube AX",
@@ -239,11 +239,13 @@ function launchTerminalHost(options = {}) {
239
239
 
240
240
  function resolveTerminalHostExecutable(options = {}) {
241
241
  const platform = options.platform || process.platform;
242
- const executable = path.resolve(options.executable || process.execPath);
242
+ const executable = String(options.executable || process.execPath);
243
243
  if (platform !== 'darwin' || !options.isPackaged) return executable;
244
- const productName = path.basename(executable);
245
- const helper = path.resolve(
246
- path.dirname(executable),
244
+ const targetPath = path.posix;
245
+ const resolvedExecutable = targetPath.resolve(executable);
246
+ const productName = targetPath.basename(resolvedExecutable);
247
+ const helper = targetPath.resolve(
248
+ targetPath.dirname(resolvedExecutable),
247
249
  '..',
248
250
  'Frameworks',
249
251
  `${productName} Helper.app`,