lwu309 / Scmpoo

Reverse engineering project of STRAY SHEEP The Screen Mate, a Windows New Executable (16-bit) application
42 stars 6 forks source link

Executable requests elevation. #4

Open PaulCoddington opened 2 weeks ago

PaulCoddington commented 2 weeks ago

Executable requests elevation.

This seems unusual as other ports do not require admin access to run.

lwu309 commented 2 weeks ago

As an application from the 16-bit period, it relies on legacy APIs reading and writing scmate.ini in Windows directory, which requires administrator privilege starting from Windows Vista for sure. This project aims to reproduce these exact behaviours as in the original version.

Accessing scmate.ini in Windows directory is the only feature that requires elevation. Do you feel bothered anyway? I can do an alternate implementation accessing registry that does not require administrator privilege if it matters that much.

PaulCoddington commented 1 week ago

"I can do an alternate implementation accessing registry that does not require administrator privilege" Or, put the INI file in %APPDATA% if that is easier.

I think people will feel a bit safer to try out the program, but at the very least it will make it easier to launch (and allow for more convenient automatic launch on sign-in from Startup menu, etc).

Thanks for putting in the effort to preserve a piece of fondly remembered PC history: it is very much appreciated.