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

Update the Electron wrapper #41

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Update the Electron wrapper #41

merged 2 commits into from
Aug 13, 2024

Conversation

dengr1065
Copy link
Collaborator

Fixes some things that annoyed me, such as inconsistent data storage (using Electron default directory for browser data, but custom one for mods and savegames) or relying on a --local flag to load localhost URL. I also removed most web preferences as they had the default values and some of the events that didn't exist anymore or would never be fired.

Minimal set of changes, not a refactor yet. Make shapez store all of
its data in a single directory whose path is provided by Electron APIs.
Useless checks and web preferences are removed and app.isPackaged is
used to detect whether the app should try to load a localhost URL.
@dengr1065 dengr1065 merged commit 6ff5cc2 into master Aug 13, 2024
1 check passed
@dengr1065 dengr1065 deleted the dengr1065/electron-updates branch September 22, 2024 08:27
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.

1 participant