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

Config: Allow the use of portable.txt #10984

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Config: Allow the use of portable.txt #10984

merged 1 commit into from
Mar 29, 2024

Conversation

Mrlinkwii
Copy link
Contributor

Description of Changes

allows the use of portable.txt as well as portable.ini

Rationale behind Changes

on some OS's it may be difficult to create ini files automatically , thus makes its more easier for the users on this OS to create the portable file

Suggested Testing Steps

create a portable.txt /.ini and make sure portable mode works

updater needs checked

@@ -193,7 +193,8 @@ bool Updater::ParseZip()
// skip updater itself, since it was already pre-extracted.
// also skips portable.ini to not mess with future non-portable installs.
if (StringUtil::Strcasecmp(entry.destination_filename.c_str(), "updater.exe") != 0 &&
StringUtil::Strcasecmp(entry.destination_filename.c_str(), "portable.ini") != 0)
StringUtil::Strcasecmp(entry.destination_filename.c_str(), "portable.ini")!= 0 ||
StringUtil::Strcasecmp(entry.destination_filename.c_str(), "portable.txt")!= 0)
Copy link
Member

Choose a reason for hiding this comment

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

you need to put these 2 lines in brackets, if you don't that means only the portable file has to exist.

@Mrlinkwii Mrlinkwii force-pushed the death branch 2 times, most recently from c335df3 to 62a256a Compare March 28, 2024 22:44
@stenzek stenzek changed the title portable mode : allow the use of portable.txt Config: Allow the use of portable.txt Mar 29, 2024
@stenzek stenzek merged commit 253e02b into PCSX2:master Mar 29, 2024
12 checks passed
@Mrlinkwii Mrlinkwii deleted the death branch March 29, 2024 09:10
vertver pushed a commit to vertver/pcsx2-gdbserver that referenced this pull request Apr 4, 2024
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.

None yet

6 participants