2 Commits
Author SHA1 Message Date
litruv 12532f7d8b Bump cinny to report the activity bar against the message in the viewport.
Build / prepare (push) Successful in 15s
Build / build-windows (push) Successful in 4m20s
Build / build-linux (push) Successful in 2m35s
Build / finalize-release (push) Successful in 4s
2026-10-13 14:34:35 +11:00
litruv eaa90d83df Fix plugin install failing with EXDEV when temp and userData are on different filesystems 2026-10-13 14:34:30 +11:00
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ Paarrot includes a plugin system for extending and customising the app with Java
1. Drop a plugin folder into your plugins directory:
- **Windows**: `%APPDATA%\paarrot\plugins\<plugin-name>\`
- **Linux**: `~/.config/Paarrot/plugins/<plugin-name>/`
- **Linux**: `~/.config/Paarrot/plugins/<plugin-name>/` for the packaged app, `~/.config/paarrot/plugins/<plugin-name>/` when running from source
- **macOS**: `~/Library/Application Support/Paarrot/plugins/<plugin-name>/`
2. Enable it in **Settings → Plugins → Installed**
+1 -1
Submodule cinny updated: 76e5f960d1...f0495cccca
+4 -3
View File
@@ -1758,7 +1758,7 @@ ipcMain.handle('plugin:download', async (event, { pluginId, downloadUrl, name })
});
}
}).on('error', (err) => {
fs.unlinkSync(tempZipPath);
fs.rmSync(tempZipPath, { force: true });
reject(err);
});
});
@@ -1788,13 +1788,14 @@ ipcMain.handle('plugin:download', async (event, { pluginId, downloadUrl, name })
}
}
// Move contents to final plugin directory
// Move contents to final plugin directory. renameSync throws EXDEV when
// temp and userData are on different filesystems (Linux: /tmp is tmpfs).
fs.mkdirSync(pluginDir, { recursive: true });
const files = fs.readdirSync(sourceDir);
for (const file of files) {
const srcPath = path.join(sourceDir, file);
const destPath = path.join(pluginDir, file);
fs.renameSync(srcPath, destPath);
fs.cpSync(srcPath, destPath, { recursive: true });
}
// Clean up temp extract dir