feat: retain cli args when relaunching after update, closes #7402#7718
feat: retain cli args when relaunching after update, closes #7402#7718lucasfernog merged 22 commits into1.xfrom
Conversation
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
|
The argument list had a trailing |
|
the test kept failing on my end because Windows defender kept flagging it as a virus and removing it, so I pushed to see if it works on CI and forgot about it but I did test it manually with another app, however I didn't test after I switched the joining logic. |
|
And I had to refrain from using |
|
This needs to be audited. @tweidinger @chippers can this be exploited? I'll go ahead and do the one change I know you'll request, which is pulling from the cached args instead of reading it at update time. |
|
@amrbashir can you add "change Env.args to pull from std::env::args_os instead of std::env::args" to the v2 breaking change list? :| |
can you change the updater to check if the argument list is empty and not add the |
|
Another crate to downgrade on CI: |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___)Other information