refactor(tauri): drop the certifier-only WebView debug port (P1.3d)
The Windows installer certifier opened a WebView2 CDP port through WAGGLE_CERTIFIER_WEBVIEW_DEBUG_PORT. The certifier leaves with the commercial release pipeline, so the main window is built straight from its configuration and the shipped app never opens a debugging port.
This commit is contained in:
@@ -227,9 +227,10 @@ describe('Tauri Production Configuration', () => {
|
||||
expect(win.minHeight).toBe(600);
|
||||
expect(win.resizable).toBe(true);
|
||||
|
||||
// The shipped app never opens a WebView debugging port.
|
||||
const lib = fs.readFileSync(path.join(TAURI_DIR, 'src', 'lib.rs'), 'utf-8');
|
||||
expect(lib).toContain('WAGGLE_CERTIFIER_WEBVIEW_DEBUG_PORT');
|
||||
expect(lib).toContain('additional_browser_args');
|
||||
expect(lib).toContain('WebviewWindowBuilder::from_config');
|
||||
expect(lib).not.toContain('remote-debugging-port');
|
||||
});
|
||||
|
||||
it('tauri.conf.json has the auto-updater intentionally disabled for v1', () => {
|
||||
|
||||
Reference in New Issue
Block a user