Skip to content

Commit 1a18944

Browse files
authored
Fix package identity build issue (#43019)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request <img width="1988" height="360" alt="image" src="https://github.com/user-attachments/assets/85d994a9-3799-4f16-a836-85ca264b873c" /> Add an EntryPoint to the AppxManifest to fix the issue. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] Closes: #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
1 parent 5d6f965 commit 1a18944

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/PackageIdentity/AppxManifest.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</Capabilities>
3737

3838
<Applications>
39-
<Application Id="PowerToys.OCR" Executable="PowerToys.PowerOCR.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
39+
<Application Id="PowerToys.OCR" Executable="PowerToys.PowerOCR.exe" EntryPoint="Windows.FullTrustApplication">
4040
<uap:VisualElements
4141
DisplayName="PowerToys.OCR"
4242
Description="PowerToys OCR Module"
@@ -45,7 +45,7 @@
4545
Square44x44Logo="Images\Square44x44Logo.png">
4646
</uap:VisualElements>
4747
</Application>
48-
<Application Id="PowerToys.SettingsUI" Executable="PowerToys.Settings.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
48+
<Application Id="PowerToys.SettingsUI" Executable="WinUI3Apps\PowerToys.Settings.exe" EntryPoint="Windows.FullTrustApplication">
4949
<uap:VisualElements
5050
DisplayName="PowerToys.SettingsUI"
5151
Description="PowerToys Settings UI"
@@ -54,7 +54,7 @@
5454
Square44x44Logo="Images\Square44x44Logo.png">
5555
</uap:VisualElements>
5656
</Application>
57-
<Application Id="PowerToys.ImageResizerUI" Executable="WinUI3Apps\PowerToys.ImageResizer.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
57+
<Application Id="PowerToys.ImageResizerUI" Executable="WinUI3Apps\PowerToys.ImageResizer.exe" EntryPoint="Windows.FullTrustApplication">
5858
<uap:VisualElements
5959
DisplayName="PowerToys.ImageResizer"
6060
Description="PowerToys Image Resizer UI"

‎src/PackageIdentity/PackageIdentity.vcxproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<CIBuildParam Condition="'$(CIBuild)' != 'true'"></CIBuildParam>
1818
</PropertyGroup>
1919

20-
<Exec Command="powershell -NonInteractive -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)BuildSparsePackage.ps1&quot; -Platform $(Platform) -Configuration $(Configuration) $(NoSignParam) $(CIBuildParam)"
20+
<Exec Command="pwsh -NonInteractive -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)BuildSparsePackage.ps1&quot; -Platform $(Platform) -Configuration $(Configuration) $(NoSignParam) $(CIBuildParam)"
2121
ContinueOnError="false"
2222
WorkingDirectory="$(MSBuildThisFileDirectory)" />
2323
</Target>

0 commit comments

Comments
 (0)