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

The portable version for Windows always extracts itself to the temp directory, which slows down the setup and sometimes causes the app to launch twice. #12879

Open
1 task done
qianlongzt opened this issue Jan 15, 2025 · 3 comments
Labels
bug desktop Desktop Application

Comments

@qianlongzt
Copy link

Steps To Reproduce

  1. Download or install via Scoop from the following link:
    https://github.com/bitwarden/clients/releases/download/desktop-v2025.1.0/Bitwarden-Portable-2025.1.0.exe
  2. Launch Bitwarden

Expected Result

The extracted files should be used directly without re-extracting every time the app is launched. The extracted files should persist between launches.

Actual Result

Every time the app is launched, it extracts the files again.

Screenshots or Videos

Image

Image

Additional Context

No response

Operating System

Windows

Operating System Version

24H2

Installation method

Other

Build Version

2025.1.0 SDK 'main (28c7e29)' Shell 33.2.1 Renderer 130.0.6723.137 Node 20.18.1 Architecture x64

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@qianlongzt qianlongzt added bug desktop Desktop Application labels Jan 15, 2025
@bitwarden-bot
Copy link

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-17098

@Krychaz
Copy link
Member

Krychaz commented Jan 20, 2025

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

@qianlongzt
Copy link
Author

I found the electron builder document

https://www.electron.build/electron-builder.interface.portableoptions#unpackdirname

The unpack directory for the portable app resources.
If set to a string, it will be the name in TEMP directory If set explicitly to false, it will use the Windows temp directory ($PLUGINSDIR) that is unique to each launch of the portable application.
Defaults to uuid of build (changed on each build of portable executable).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

No branches or pull requests

3 participants