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

Skip Liv initialization on Linux #325

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Skip Liv initialization on Linux #325

merged 2 commits into from
Sep 21, 2023

Conversation

Insprill
Copy link
Contributor

Scope

As of 46eb8d0, when launching the application on Linux it would immediately crash due to there not being an implementation of #isLivInstalled for Linux.

Implementation

To fix this, I've simply added a Linux implementation that always returns false.

How to Test

Try launching the application at/after 46eb8d0 with and without this patch.

Emoji Guide

For reviewers: Emojis can be added to comments to call out blocking versus non-blocking feedback.

E.g: Praise, minor suggestions, or clarifying questions that don’t block merging the PR.

🟢 Nice refactor!

🟡 Why was the default value removed?

E.g: Blocking feedback must be addressed before merging.

🔴 This change will break something important

Blocking 🔴 ❌ 🚨 RED
Non-blocking 🟡 💡 🤔 💭 Yellow, thinking, etc
Praise 🟢 💚 😍 👍 🙌 Green, hearts, positive emojis, etc

src/main/services/liv/liv.service.ts Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Owner

@Zagrios Zagrios left a comment

Choose a reason for hiding this comment

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

🙌

@Zagrios Zagrios merged commit 7378b23 into Zagrios:master Sep 21, 2023
@Insprill Insprill deleted the fix/liv-linux branch September 21, 2023 15:50
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