-
Notifications
You must be signed in to change notification settings - Fork 0
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
Installer detection improvements #111
Conversation
Oooo found a issue when creating a new package, the ProductCode field is not removed when no ProductCode is enterted
Also, we should probably clear the |
I've got a separate branch going for release notes things; I'll merge that into this one and try and fix that product code issue |
We don't actually have any Also the |
It shouldn't be too bad honestly. Its just a string value thats up to 10k characters with multiline support I'm more worried about ReleaseDate, since that is just a date. Do you know if there is a specific format needed for that? I'm thinking its just yyyy-MM-dd but I'm not 100% sure |
Quick testing shows ANYTHING is valid, but we should use (tbh force) yyyy-MM-dd yes |
Perfect; I have it set up (again, different branch) to try and parse whatever the user enters into that format. So they could enter December 30 2021 and it should parse the value to 2021-12-30 |
BTW, the |
makes sense, seems like winget version 1.2.3131 can't validate it correctly then, cuz i could type anything and it would pass 🤷♂️ |
Got another bug when creating a new package with 2 installers, microsoft#35217 The script didn’t ask for the unknown archietecture so it just used x64 |
I haven’t looked fully yet, but it seems like this would occur even when on microsoft/master because the packageidentifier has 64 in it? |
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.
Typo and Color
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.
Pretty sure this is approvable at this state 🤔 Unless you want to do more
* Prepare file for 1.1.0 manifests - #31 * Installer detection improvements (#111) * Begin update in place * Condense installer switch logic * Fix Null values * Prevent null checking * Cleanup * Fix missed variable * Bump version * Update function calls * Fix empty ProductCode * Confirm Architecture when Automatically Detected * Remove Debug Line * Add duplicate url check for Quick update * Remove line used in debugging * Remove unneeded comment * Resolves #121 Co-authored-by: Vedant <[email protected]>
@jedieaston @OfficialEsco
Making some big changes to how the installer entry is built out for new manifests. If you wouldn't mind doing some testing, I'm not sure how stable it is. I think it works, but I haven't gone through every possible use case