safing / portmaster-ui

User Interfaces for Portmaster
https://github.com/safing/portmaster/
GNU General Public License v3.0
151 stars 20 forks source link

App V.0-2-6 not working for Windows 7 #503

Closed Chacripan closed 9 months ago

Chacripan commented 11 months ago

What happened:

Portmaster has been running flawlessly since about a year now on two Windows 7 (Home Premium, 64bit) machines. Since the latest update (1.6.2 STABLE) however, the App-UI will not open through the regular ways any more: a) tray notifier > "Open App" > no function b) start menu > programs > "Portmaster" > no function c) C:\Program Data\Safing\Portmaster\portmaster-start.exe > no function "no function" = nothing happens when clicking / doubleclicking (no error message either)

What did you expect to happen?:

When operating steps a) to c) as described above, the App-UI should start up.

How did you reproduce it?:

In addition to a) to c) as described above, looking at C:\Program Data\Safing\Portmaster\updates\windows_amd64\app\ I noticed this:

d) \portmaster-app_v0-2-6\portmaster-app_v0-2-6.exe (latest version) > when trying to run, an error message is thrown on OS-Level (Windows Alert-Popup): The procedure entry point "DiscardVirtualMemory" could not be located in the dynamic link library "KERNEL32.dll".

e) \portmaster-app_v0-2-5\portmaster-app_v0-2-5.exe (previous version) > App-UI does open and apparently works as normal

Also, opening the UI by browser (127.0.0.1:817/ui/modules/portmaster/dashboard) works as it should. The core and everything else seems to be working as normal, it appears to be only a problem with the latest App-UI.

Further Investigations:

Apparently, Electron has dropped support for Windows 7/8 since version 23: Farewell, Windows 7/8/8.1

It seems that the Portmaster app has changed from Electron 20.0.3 to 27.1.2 in App version 0-2-6: Update electron to newest version

Might this explain the issue ?

github-actions[bot] commented 11 months ago

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you:

github-actions[bot] commented 9 months ago

This issue has been automatically marked as inactive because it has not had activity in the past two months.

If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.

Raphty commented 9 months ago

This is a known issue. You are correct the electron update has been responsible, we did not catch that in the Beta, which is why there was no heads up notice, we are sorry for the inconvenience.

There is a workaround: https://wiki.safing.io/en/Portmaster/Install/Windows#windows-7-and-8

NOTE: Since W7 has been deprecated by the developer for years at this point we strongly recommend moving away from that platform asap