-
Notifications
You must be signed in to change notification settings - Fork 27
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: Get the correct file path #1211
Conversation
src/Uno.Toolkit.UI/Controls/ExtendedSplashScreen/ExtendedSplashScreen.Windows.crossruntime.cs
Outdated
Show resolved
Hide resolved
d14e29d
to
43d4127
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably wrap it in #If WINDOWS
given the problem is only affecting windows unpackaged
---
or, did you checked that this doesnt break/isnt reached on skia/wasm?
@eriklimakc Can you double check the comment from @Xiaoy312 and check if either the change works fine for skia/wasm or if we need to wrap this in #if WINDOWS |
Skia: On skia the prefix 'file:' is also present on Line 264 in 43d4127
Lines 274 to 275 in 43d4127
Wasm: I can't debug wasm, but I used I also downloaded the artifacts from this PR and used on a new uno app and the app didn't show any problems. Are there other tests I could do to ensure this will run smoothly? |
I would say we should just do what @Xiaoy312 mentioned and wrap this specific change in #If WINDOWS just so we can be sure we aren't changing the logic for other platforms |
43d4127
to
b532a1d
Compare
@Mergifyio backport release/stable/6.1 |
✅ Backports have been created
|
(cherry picked from commit 340a673)
GitHub Issue (If applicable): #1165
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The url being returned is
file:\C:\C\1165\UnoApp1\UnoApp1\bin\Debug\net8.0-windows10.0.19041\AppxManifest.xml
. WhenFile.Exist
uses that url, it returns false due to the "file" prefix.What is the new behavior?
No "file" prefix.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
Internal Issue (If applicable):