DeskFrame icon indicating copy to clipboard operation
DeskFrame copied to clipboard

Automatic Update Feature Is Not Working

Open anubeon opened this issue 1 year ago • 7 comments

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

  1. Right-click on the DeskFrame icon in the taskbar and click Check for Updates
  2. 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.

anubeon avatar Nov 21 '25 09:11 anubeon

I've checked it works perfectly for me, I'm not able to reproduce it.

PinchToDebug avatar Nov 22 '25 07:11 PinchToDebug

It might be McAfee that is stopping it.

PinchToDebug avatar Nov 22 '25 07:11 PinchToDebug

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)

Xunflash avatar Nov 23 '25 16:11 Xunflash

I didn't even touch the updating part of the code. I'll check what's going on in the near future.

PinchToDebug avatar Nov 23 '25 16:11 PinchToDebug

The issue is the lack of privilege, you need administrator privilege to move files into those folders.

PinchToDebug avatar Nov 24 '25 07:11 PinchToDebug

Go to the folder's Properties -> Security -> Edit -> Users and add write and modify permission to the Users group.

Image

PinchToDebug avatar Nov 24 '25 07:11 PinchToDebug

I've added a check https://github.com/PinchToDebug/DeskFrame/commit/92f9955660750db571abf2596edf63e47bc4ab85 .

PinchToDebug avatar Nov 24 '25 10:11 PinchToDebug