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

Reset Safari.sh does not clear last session #43

Closed
4rm opened this issue Mar 26, 2024 · 2 comments · Fixed by #44
Closed

Reset Safari.sh does not clear last session #43

4rm opened this issue Mar 26, 2024 · 2 comments · Fixed by #44
Assignees
Labels
enhancement New feature or request

Comments

@4rm
Copy link

4rm commented Mar 26, 2024

After running the Reset Safari script, the option to "Reopen All Windows from Last Session" persists, and successfully reopens tabs from the last session. This is on Safari 17.4, macOS 14.4.

image

mpanighetti added a commit that referenced this issue Mar 26, 2024
- switched Reset Safari.sh to use uninstaller-template
- added user container paths to purge windows open in last session #43
@mpanighetti mpanighetti self-assigned this Mar 26, 2024
@mpanighetti mpanighetti added the enhancement New feature or request label Mar 26, 2024
@mpanighetti
Copy link
Collaborator

Thanks for the request! I found that deleting the contents of ~/Library/Containers/com.apple.Safari clears the setting you called out. That change is in #44 (also took the opportunity to revamp the script using our uninstaller-template and added a few more container paths) and I've confirmed it works on my host, but it would be helpful to verify this satisfies your needs. Let me know!

@4rm
Copy link
Author

4rm commented Mar 27, 2024

Thank you! I've tested the new script and it clears out the settings perfectly. This is resolved.

@4rm 4rm closed this as completed Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants