-
-
Notifications
You must be signed in to change notification settings - Fork 127
Add --no-portable flag #1959
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
base: main
Are you sure you want to change the base?
Add --no-portable flag #1959
Conversation
WalkthroughIntroduces a command-line flag to disable portable mode. The arguments constructor now checks for a no-portable flag after existing portable detection and the portable flag, and forces m_portable to false when present. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant CLI as CommandLine
participant Args as PCSX::Arguments
participant FS as Filesystem
User->>CLI: launch with flags
CLI->>Args: construct with args
Args->>FS: check pcsx.json / repo paths
FS-->>Args: detection result (portable?)
Args->>Args: apply --portable if present
Args->>Args: apply --no-portable (overrides to false)
Args-->>CLI: m_portable finalized
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
Useful on MacOS where app bundles are always going to store settings, memcards, etc in $HOME/.config/pcsx-redux. I use this flag to make my dev builds use the same persistent directory as app bundles, so as not to have multiple copies of those files.
One could also use the --portable flag with an appropriate path to achieve the same thing, but this is easier to use since you don't need to remember the correct path.