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

Store window state #13

Merged
merged 2 commits into from
Feb 1, 2025
Merged

Store window state #13

merged 2 commits into from
Feb 1, 2025

Conversation

quevon24
Copy link
Contributor

@quevon24 quevon24 commented Feb 1, 2025

I implemented some small changes so that the state of the window is stored, which is the size, position and display in which it is shown.

By default it loads with a size of 800x600 and centered.

It will store the settings in this path:

Linux:
/home/<Username>/.config/whatsapp-desktop-client/window-state.json

Windows:
C:\Users\<Username>\AppData\Roaming\whatsapp-desktop-client\window-state.json

macOS:
/Users/<Username>/Library/Application Support/whatsapp-desktop-client/window-state.json

@xanmoy
Copy link
Owner

xanmoy commented Feb 1, 2025

Hey @quevon24 , thanks for your contribution! Storing the window state is a great addition-it'll improve the user experience a lot. I'll review the changes soon and get back to you if anything needs adjustments.

Appreciate your effort!

@xanmoy xanmoy merged commit 1a511f0 into xanmoy:main Feb 1, 2025
@quevon24 quevon24 deleted the window-settings branch February 1, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants