diff --git a/.pipelines/versionAndSignCheck.ps1 b/.pipelines/versionAndSignCheck.ps1 index d5960efb642d..67c5312f9597 100644 --- a/.pipelines/versionAndSignCheck.ps1 +++ b/.pipelines/versionAndSignCheck.ps1 @@ -68,11 +68,6 @@ $items | ForEach-Object { Write-Host "Version not set: " + $_.FullName $totalFailure++; } - elseif ($_.VersionInfo.ProductName -contains "PowerToys" -and $_.VersionInfo.LegalCopyright -notmatch "Copyright \(C\) $((Get-Date).Year)") { - # PowerToys assemblies that aren't updated to the current year in the copyright - Write-Host "Copyright year out of date: " + $_.FullName - $totalFailure++; - } else { $auth = Get-AuthenticodeSignature $_.FullName if ($auth.SignerCertificate -eq $null) { @@ -86,4 +81,4 @@ if ($totalFailure -gt 0) { exit 1 } -exit 0 \ No newline at end of file +exit 0 diff --git a/Directory.Build.props b/Directory.Build.props index 14a45385d4d1..f932d0036dbe 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,9 +1,9 @@ - Copyright (C) 2024 Microsoft Corporation + Copyright (C) Microsoft Corporation. All rights reserved. Microsoft Corp. - Copyright (C) 2024 Microsoft Corporation + Copyright (C) Microsoft Corporation. All rights reserved. PowerToys Microsoft Corporation en-US @@ -86,4 +86,4 @@ - \ No newline at end of file + diff --git a/src/common/version/version.h b/src/common/version/version.h index b30061956599..f1602e10c4a9 100644 --- a/src/common/version/version.h +++ b/src/common/version/version.h @@ -13,7 +13,7 @@ #define PRODUCT_VERSION_STRING FILE_VERSION_STRING #define COMPANY_NAME "Microsoft Corporation" -#define COPYRIGHT_NOTE "Copyright (C) 2024 Microsoft Corporation" +#define COPYRIGHT_NOTE "Copyright (C) Microsoft Corporation. All rights reserved." #define PRODUCT_NAME "PowerToys" #include @@ -43,4 +43,4 @@ inline std::wstring get_std_product_version() L"." + std::to_wstring(VERSION_REVISION) + L".0"; return version; -} \ No newline at end of file +}