[UWP] [Export] added additional checks for blank values
`Short Name` and `Publisher Display Name` are mandatory. You can't even sign the app package without them in the manifest.
This commit is contained in:
parent
0ab0d11c17
commit
a0fd450415
1 changed files with 10 additions and 0 deletions
|
@ -1144,11 +1144,21 @@ public:
|
|||
return valid;
|
||||
}
|
||||
|
||||
if (!_valid_resource_name(p_preset->get("package/short_name"))) {
|
||||
valid = false;
|
||||
err += TTR("Invalid package short name.") + "\n";
|
||||
}
|
||||
|
||||
if (!_valid_resource_name(p_preset->get("package/unique_name"))) {
|
||||
valid = false;
|
||||
err += TTR("Invalid package unique name.") + "\n";
|
||||
}
|
||||
|
||||
if (!_valid_resource_name(p_preset->get("package/publisher_display_name"))) {
|
||||
valid = false;
|
||||
err += TTR("Invalid package publisher display name.") + "\n";
|
||||
}
|
||||
|
||||
if (!_valid_guid(p_preset->get("identity/product_guid"))) {
|
||||
valid = false;
|
||||
err += TTR("Invalid product GUID.") + "\n";
|
||||
|
|
Loading…
Reference in a new issue