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

Adding steam tinker launch to possible downloads #217

Merged

Conversation

Vysp3r
Copy link
Owner

@Vysp3r Vysp3r commented Sep 10, 2024

No description provided.

Vysp3r and others added 30 commits September 1, 2024 13:03
Much easier to edit and maintain.
They were being set on the response buffer rather than the request, so they were not being sent to GitHub. It's important that we send them correctly so that GitHub's API changes doesn't break ProtonPlus in the future.
We request 1, so it should always be 1, but if GitHub returns multiple then we simply want the 0th (first) entry, so all we really care about is that there's at least 1 entry.
This just reduces risk of any future typos, by deriving the base path from the chosen parent path.
The "_with_default()" method automatically verifies that the member exists and is a string (not null, int, etc), otherwise it returns the default, in our case "" (empty string). This makes the member retrieval safer.
If "yad" was not installed, it always thought it was installed. The only time it failed was if it found yad but the version was too low.
Vysp3r and others added 15 commits September 8, 2024 21:26
All FileTests of steam.vala have now been reviewed and revised to have stricter logic which avoids data loss but still detects errors appropriately.
All files were being created with a silly "-rw-------" mode which doesn't make sense. The default has now been changed to use the normal, default Linux permissions of "-rw-r--r--" instead.

The old behavior can still be triggered by passing `private_mode = true` as a flag, but it's no longer the default.
The UI state handler has been completely rewritten to address previous issues of complexity, code repetition, and maintainability. Key improvements include:

- Simplified Architecture: The system has been unified into a single, cohesive structure, significantly reducing complexity and making it more intuitive to understand.
- Improved Maintainability: Eliminated spaghetti and repeated logic, ensuring a cleaner, modular, and easily maintainable system.
- Robustness: The new implementation is more robust, reducing potential edge case failures and ensuring smoother state transitions.

Overall, the new UI state handler is now easier to read, maintain, and scale, while providing a strong foundation for future development.
- Fixed the broken window size that was causing "AdwOverlaySplitView" console errors due to the app's minimum allowed dimensions being too small.
- Adjusted the default window size to 960x690 to ensure all supported Steam Runners fit within the app window without overflow. Verified at 1920x1080 and 4K with 100% and 200% screen scales. It now looks perfect everywhere.
@Vysp3r Vysp3r linked an issue Sep 10, 2024 that may be closed by this pull request
@Vysp3r Vysp3r force-pushed the 166-feature-adding-steam-tinker-launch-to-possible-downloads branch from c623d8f to dec310f Compare September 10, 2024 21:49
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.

[FEATURE] Adding Steam Tinker Launch to possible downloads
2 participants