Automatic Update Feature Is Not Working
Describe the bug The automatic update feature appears to be failing. The notification appears, DeskFrame restarts, but then the 'new update available' prompt re-appears and (as it transpires) DeskFrame did not update.
To Reproduce Steps to reproduce the bebehaviour
- Right-click on the DeskFrame icon in the taskbar and click Check for Updates
- When the "New Release Available" prompt appears, click Install
Expected behavior I'd expect Deskframe to restart with the new release applied; instead it restarts without having applied the new release.
Screenshots / Screenrecording
https://github.com/user-attachments/assets/d97e8d74-3115-4255-8297-977d93939544
Desktop (please complete the following information):
- OS: Windows 11
- OS Version: 10.0.26200
- OS Build: 26200
Additional context As DeskFrame doesn't have an installer per se, I have 'installed' DeskFrame.exe in C:\Opt\Deskframe.
I've checked it works perfectly for me, I'm not able to reproduce it.
It might be McAfee that is stopping it.
Same issue, it seems like DeskFrame only download the exe file to C:\Users\Username\AppData\Local\Temp\DeskFrame.exe but don't copy it to the installation path. (My installation path is C:\Program Files\DeskFrame)
I didn't even touch the updating part of the code. I'll check what's going on in the near future.
The issue is the lack of privilege, you need administrator privilege to move files into those folders.
Go to the folder's Properties -> Security -> Edit -> Users and add write and modify permission to the Users group.
I've added a check https://github.com/PinchToDebug/DeskFrame/commit/92f9955660750db571abf2596edf63e47bc4ab85 .