dumbeau / AutoHotPie

Radial menus in Windows, aka PIE MENYOOS!
MIT License
340 stars 18 forks source link

Implement code-signing to prevent Defender screening #25

Open trankillity opened 2 years ago

trankillity commented 2 years ago

I realise this is very early in development, but would love to be able to use it at work. Having it work as a local user is already a step in the right direction, however there's no way that my IT department is going to let me install an unsigned app that doesn't pass Windows Defender screening.

It'd be great if you'd consider using electron code-signing with a valid cert to prevent this. If you are already using code-signing, then apparently this can be prevented by distributing your installer inside a .zip, so that the .exe file doesn't get the "downloaded from internet" flag.

dumbeau commented 2 years ago

I've been looking into code signing, but I'm cheap as hell. For the time being, I have a garbage solution to this, 'File > Create portable AHK package'. Not sure how well this is working with user icons. This will allow you to export a folder containing only the AHK scripts necessary to run pie menus with no scary executables. You have to configure your menus first on the non-work machine, export the AHK package, then bring this folder to the work machine. You can bring this folder over to a machine with AHK pre-installed. I'll very likely end up code signing, but I'd like to keep this free. Or at the very least I'd like more polish before code signing.

Happy you find this useful! I did not know about putting the installer inside a zip.