fix(desktop): find the sidecar through Tauri's resource directory (P1.3d)

Linux packages keep resources in /usr/lib/<app> (deb) or under $APPDIR
(AppImage), not next to the executable, so the shell never found
service.js there. Setup now records Tauri's resource_dir and the lookup
prefers it, keeping the executable-relative paths as a fallback.

Drop tauri-plugin-updater: it was declared but never registered, and the
updater stays disabled until release signing exists.
This commit is contained in:
shumeiko.it
2026-11-01 00:10:22 +01:00
parent a8250cb375
commit d2ad282498
9 changed files with 47 additions and 277 deletions

View File

@@ -405,9 +405,9 @@ describe('Tauri Production Configuration', () => {
expect(previousReleaseBlock).not.toContain("$receipt.checks['previousHiddenService']");
});
it('Cargo.toml has updater plugin dependency', () => {
it('Cargo.toml has no updater plugin while the updater is disabled', () => {
const cargo = fs.readFileSync(path.join(TAURI_DIR, 'Cargo.toml'), 'utf-8');
expect(cargo).toContain('tauri-plugin-updater');
expect(cargo).not.toContain('tauri-plugin-updater');
expect(cargo).toContain('tauri-plugin-notification');
expect(cargo).toContain('tauri-plugin-single-instance');
});