0x7c13 / Notepads

A modern, lightweight text editor with a minimalist design.
https://www.NotepadsApp.com
MIT License
8.67k stars 477 forks source link

[Bug] PowerShell_profile not digitally signed #732

Open sirius-fan opened 3 years ago

sirius-fan commented 3 years ago

Describe the bug

When I use Notepads to edit the Powershell profile (Microsoft.PowerShell_profile.ps1), and the next time I open Powershell, it prints "not digitally signed". If I use notepad3 to edit it. It does not have this problem.

.: File C:\Users\A\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded. The file C:\Users\A\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.

Screenshots image

Desktop (please complete the following information):

0x7c13 commented 3 years ago

这个是UWP的通病,凡是UWP修改过的类似像ps1这样的文件都会出现这样的问题。