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

Fix Flatpak config issues #10688

Merged
merged 1 commit into from
May 27, 2024
Merged

Fix Flatpak config issues #10688

merged 1 commit into from
May 27, 2024

Conversation

droidmonkey
Copy link
Member

@droidmonkey droidmonkey commented May 7, 2024

Remove #ifdef guards from Config.h/cpp (no harm to non-Flatpak distros, this config variable is ignored)

Cleanup #ifdef usage in NixUtils.cpp

Testing strategy

I am still trying to determine if this code actually works. It did not work with the test deploy of the flatpak via flathub. Waiting for prod deploy to test further.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

Remove #ifdef guards from Config.h/cpp (no harm to non-Flatpak distros)

Cleanup #ifdef usage in NixUtils.cpp
Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 63.67%. Comparing base (b56c5cb) to head (d60ac5d).

Files Patch % Lines
src/gui/osutils/nixutils/NixUtils.cpp 20.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10688      +/-   ##
===========================================
- Coverage    63.67%   63.67%   -0.00%     
===========================================
  Files          360      360              
  Lines        44228    44227       -1     
===========================================
- Hits         28161    28160       -1     
  Misses       16067    16067              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@phoerious phoerious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the startup launch ifdef'd to Flatpak before?

@droidmonkey
Copy link
Member Author

We detect startup launch configurations to mark the setting enabled. That doesn't seem possible with flatpak.

@droidmonkey droidmonkey modified the milestones: v2.8.0, v2.7.9 May 22, 2024
@droidmonkey droidmonkey merged commit a5c7f7b into develop May 27, 2024
11 checks passed
@droidmonkey droidmonkey deleted the fix/flatpak-launch-startup branch May 27, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants