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:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user