Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] app.restart() does not retain the current command line arguments #4760

Closed
horochx opened this issue Jul 25, 2022 · 0 comments
Closed
Labels
status: in progress Implementation is proceeding smoothly type: bug

Comments

@horochx
Copy link
Contributor

horochx commented Jul 25, 2022

Describe the bug

I am managing updates manually and I noticed that when I call app.restart to do a restart, the command line arguments are missing.

Reproduction

No response

Expected behavior

Retain current command line parameters when restarting.

Platform and versions

Environment
  › OS: Mac OS 12.4.0 X64
  › Node.js: 14.19.3
  › npm: 6.14.17
  › pnpm: 7.4.0
  › yarn: 1.22.15
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-aarch64-apple-darwin 

Packages
  › @tauri-apps/cli [NPM]: 1.0.0 (outdated, latest: 1.0.5)
  › @tauri-apps/api [NPM]: 1.0.1 (outdated, latest: 1.0.2)
  › tauri [RUST]: 1.0.3,
  › tauri-build [RUST]: 1.0.3,
  › tao [RUST]: 0.12.1,
  › wry [RUST]: 0.19.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: React

App directory structure
  ├─ node_modules
  ├─ public
  ├─ scripts
  ├─ src-tauri
  ├─ build
  ├─ .git
  ├─ .idea
  └─ src

Stack trace

No response

Additional context

No response

@horochx horochx added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jul 25, 2022
@amrbashir amrbashir changed the title [bug] app.restart() does not contain the current command line arguments [bug] app.restart() does not retain the current command line arguments Jul 25, 2022
@lucasfernog lucasfernog added status: in progress Implementation is proceeding smoothly and removed status: needs triage This issue needs to triage, applied to new issues labels Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in progress Implementation is proceeding smoothly type: bug
Projects
None yet
Development

No branches or pull requests

2 participants