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 portable if manifest is missing #2405

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Trial97
Copy link
Member

@Trial97 Trial97 commented May 16, 2024

fixes #2191
Basically, we should not touch the portable.txt file on the update

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
@Trial97 Trial97 added bug Something isn't working simple change changelog:fixed A PR that appears under "Fixed" in the changelog labels May 16, 2024
@Trial97 Trial97 added this to the 8.4 milestone May 16, 2024
@Trial97 Trial97 added the backport release-8.x Backport PR automatically label May 16, 2024
Copy link
Member

@DioEgizio DioEgizio left a comment

Choose a reason for hiding this comment

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

That's not gonna fix that, look into the nsis code, we uninstall everything that was in the folder and reinstall again to not having residual DLLs that could cause issues. Honestly adding portable.txt to nsis installs shouldn't be a supported configuration, just use the portable .zip if you need that

@Trial97
Copy link
Member Author

Trial97 commented May 16, 2024

This is more like a fix for portable in case they delete the manifest file.
Here is the situation this solves:

  • download and extract portable version
  • delete the manifest file
  • do a prism update
  • now prism is no longer portable

Yeah I know that the situation described in the issue is not desired, but this doubles as both a fix for that situation but also for the mentioned one.
So if this is not desired please close both the issue and PR.

Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Copy link
Contributor

@Ryex Ryex left a comment

Choose a reason for hiding this comment

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

le sigh This is such a silly use case to support...

I suppose this is fine because portable is just a marker file and we won't be adding any data to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-8.x Backport PR automatically bug Something isn't working changelog:fixed A PR that appears under "Fixed" in the changelog simple change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prism Launchr update ignores / removes portable.txt
3 participants