Merge pull request #33486 from piratesephiroth/uwp
[UWP] [Export] added additional checks for blank values
This commit is contained in:
commit
9369fd98a0
|
@ -1144,11 +1144,21 @@ public:
|
||||||
return valid;
|
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"))) {
|
if (!_valid_resource_name(p_preset->get("package/unique_name"))) {
|
||||||
valid = false;
|
valid = false;
|
||||||
err += TTR("Invalid package unique name.") + "\n";
|
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"))) {
|
if (!_valid_guid(p_preset->get("identity/product_guid"))) {
|
||||||
valid = false;
|
valid = false;
|
||||||
err += TTR("Invalid product GUID.") + "\n";
|
err += TTR("Invalid product GUID.") + "\n";
|
||||||
|
|
Loading…
Reference in New Issue