Skip to content

[bug] sidecar example app creates empty screen app from windows msi #3446

Description

@jmw992

Describe the bug

I built the sidecar example on windows with yarn tauri build, it installs fine, but the app operation is a blank screen which doesn't output messages like it does with yarn tauri dev.
image

I checked on my and the app from installer does produce messages, so this issue is probably only on windows.

Reproduction

  1. On Windows machine build yarn tauri build
  2. Install the sidecar app from .msi
  3. Run it and see empty screen

Expected behavior

App works the same as yarn tauri dev and as mac

Platform and versions

PS C:\Users\jmw99\OneDrive\Documents\BayswaterPC\monorepo-with-tauri-client\tauri-sidecar> cargo tauri info

Operating System - Windows, version 10.0.19043 X64
Webview2 - 98.0.1108.50
Visual Studio Build Tools:
   - Visual Studio Build Tools 2022

Node.js environment
  Node.js - 16.14.0
  @tauri-apps/cli - 1.0.0-rc.3
  @tauri-apps/api - Not installed

Global packages
  npm - 8.3.1
  pnpm - Not installed
  yarn - 1.22.11

Rust environment
  rustc - 1.58.1
  cargo - 1.58.0

Rust environment
  rustup - 1.24.3
  rustc - 1.58.1
  cargo - 1.58.0
  toolchain - stable-x86_64-pc-windows-msvc 

App directory structure
/node_modules
/scripts
/src
/src-tauri

App
  tauri.rs - 1.0.0-rc.1
  build-type - bundle
  CSP - default-src 'self'
  distDir - ["../index.html"]
  devPath - ["../index.html"]
PS C:\Users\jmw99\OneDrive\Documents\BayswaterPC\monorepo-with-tauri-client\tauri-sidecar>

Stack trace

n/a

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions