zap icon indicating copy to clipboard operation
zap copied to clipboard

zap upgrade updates to already installed version and removes it

Open Aras14HD opened this issue 2 years ago • 3 comments

Zap version: Zap version Build:v2.2.1.1.gb8ed330 1640723566

Whenever I update my appimages using zap upgrade, I get the version selection screen, and when I try to install a version that is already installed (installed version is already the newest), it tries to UpdateInPlace and removes the version it tries to install and gives the Error: [FATAL] 2022/01/10 17:32:55 github.com/srevinsaju/zap/appimage.UpdateInPlace:utils.go:350 Failed to resolve symlink to /home/USER/.local/bin. E: lstat /home/USER/Applications/DevHub-0.102.0.AppImage: no such file or directory Downgrading and upgrading gets the app back.

Aras14HD avatar Jan 10 '22 17:01 Aras14HD

Thanks for the bug report, I will try to reproduce this locally

srevinsaju avatar Jan 15 '22 20:01 srevinsaju

I'm also encountering this

Eeems avatar Jan 17 '22 00:01 Eeems

@ratogabriel would you like to look into this?

srevinsaju avatar Jan 22 '22 15:01 srevinsaju