Skip to content

Conversation

@phobos665
Copy link
Contributor

@phobos665 phobos665 commented Feb 2, 2026

Summary by cubic

Skip the Steam “currently playing” check when prelaunching non‑Steam games. This removes the false “account session active” prompt and lets non‑Steam titles start without interruption.

  • Bug Fixes
    • Run the Steam session check only if the container source is Steam (using ContainerUtils.extractGameSourceFromContainerId).

Written for commit cebf5a6. Summary will update on new commits.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed unwanted "another game running" prompts appearing for non-Steam games. The alert now displays only when launching Steam games.
  • New Features

    • Custom Games now launch with a streamlined process that bypasses Steam Cloud synchronization, enabling faster game startup.

return@launch
}
} catch (_: Exception) { /* ignore persona read errors */ }
val isSteamGame = ContainerUtils.extractGameSourceFromContainerId(appId) == GameSource.STEAM
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The only changes here is to check isSteamGame and only execute if isSteamGame = true

@coderabbitai
Copy link

coderabbitai bot commented Feb 2, 2026

📝 Walkthrough

Walkthrough

The launch flow in PluviaMain.kt is refined to restrict a Steam "another game running" prompt to Steam games only, while Custom Games now bypass Steam Cloud synchronization and proceed directly to launch. Non-Steam games retain their existing behavior.

Changes

Cohort / File(s) Summary
Game Launch Flow Logic
app/src/main/java/app/gamenative/ui/PluviaMain.kt
Added conditional check to restrict Steam's "another game running" prompt to Steam games only (isSteamGame check). Introduced new bypass path for Custom Games to skip Steam Cloud sync and proceed directly to launch.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 Steam games alone hear the warning bell,
Custom adventures skip the sync and spell,
A hop through the launch, a path less well-trod,
Different routes for different game mod! 🎮✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: ignoring Steam game checks for non-Steam games during prelaunch, which aligns with the AI-generated summary showing restriction of the Steam prompt to Steam games only and addition of a bypass path for Custom Games.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@utkarshdalal utkarshdalal merged commit 1a2bc96 into utkarshdalal:master Feb 2, 2026
3 checks passed
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