element-hq / element-hq/element-web
`--profile` is lost after an update
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. open `element-desktop\Element.exe --profile profile1`
2. wait until an update is available
3. click "restart" in the popup menu
4. when it opens again, you are no longer in `profile1` account
### Outcome
#### What did you expect?
Keeping the same profile it was opened with.
#### What happened instead?
The default profile was opened.
### Operating system
Windows
### Application version
versione Element: 1.11.54 Crypto version: Olm 3.2.15
### How did you install the app?
Chocolatey
### Homeserver
lapo.it (based on conduit.rs)
### Will you send logs?
Yes
Contributor guide
Research direction
Start by tracing the Windows desktop update and restart flow invoked from element-desktop\Element.exe, focusing on how the --profile argument is passed when the app relaunches. Reproduce the update restart with profile1 and verify that the same profile is restored instead of the default profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100