Comments (1)
Upon further review; This should also include a refactoring of the script to update the manifests in-place where applicable, instead of always creating new ones.
Logic Flow:
------------------------------
During read previous flow
------------------------------
If old singleton manifest exists
> Create new empty multi-manifest
> Copy existing fields from singleton into the appropriate multi-manifest file
If old multi-manifest exists
> Set new installer manifest equal to existing installer manifest
> Set new locale manifest equal to existing locale manifest
> Set new version manifest equal to old locale manifest
If no manifests exist
> Create new empty manifests
------------------------------
During data entry flow
------------------------------
For any new required entries
> Set the appropriate Manifest['Key'] value directly instead of using script variables
For any optional values
> If the value entered is null or empty, do not update the field
> If the value entered is not null and is valid, update the value in place
------------------------------
During file creation flow
------------------------------
Directly use the new manifests which were updated in-place
Re-Sort the keys to ensure accuracy
from winget-pkgs.
Related Issues (20)
- [Bug]: System.AccessViolationException: Attempted to read or write protected memory. HOT 1
- [New Feature]: Use the COM API for getting ProductCode from MSI installer(s) HOT 2
- [New Feature]: Fetch Metadata from MSI and EXE details HOT 3
- [New Feature]: User-Agent HOT 6
- [Bug]: The behaviour of Sort-Object on CJK characters differs in different environments HOT 5
- [New Feature]: Get FileName from download item HOT 3
- Check for ProductCode if url does not end with .msi HOT 1
- [Bug]: SignatureSha256 gets added to every InstallerUrl if MSIX is at the top
- [Bug]: Annoying "Deployment operation progress" stuck/duplicate in console HOT 18
- [Bug]: Problem with installer filename HOT 1
- Read ProductCode and UpgradeCode from burn installers
- [New Feature]: Identify Inno and Nullsoft installers automatically
- [New Feature]: Decode URLs HOT 2
- [New Feature]: Identify Burn installers automatically HOT 2
- [New Feature]: Identify Package Family Name from MSIX without installing HOT 1
- [New Feature]: Identify scope from URL
- [New Feature]: Get architecture using PE Headers HOT 1
- YamlCreate does not create PR when moving package if AutoSubmitPRs is unset HOT 6
- Autofill the InstallLocation switch for WiX installers HOT 1
- Alternative user agent for downloading the installer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-pkgs.