devpod icon indicating copy to clipboard operation
devpod copied to clipboard

SoftLink for devpod-cli created by the Appimage version of devpod will invalid after a restart of devpod

Open ihipop opened this issue 1 year ago • 1 comments

What happened? when I click "Add CLI to PATH" in the settings of devpod, it creates a softlink to a temporary mount point of Appimage instead of a permanent link to Appimage of devpod after a restart or quit of devpod , this path will be invalid, and devpod-cli will be unavailable

What did you expect to happen instead? a soft link of devpod-cli should be created to the path of the Appimage of devpod and the Appimage should judge if we want to start devpod-cli or devpod,which is a lacked feature of v0.1.9 for now at least

~How can we reproduce the bug? (as minimally and precisely as possible)~

Local Environment:

  • DevPod Version: v0.1.9
  • Operating System: linux
  • ARCH of the OS: AMD64

~DevPod Provider:~

~Anything else we need to know?~

ihipop avatar Jun 21 '23 04:06 ihipop

Hi @ihipop Will take a look at this thanks for reporting! :+1:

89luca89 avatar Jun 21 '23 09:06 89luca89

@FabianKramm @89luca89 if I wasn't wrong,this patch only copy a cli binary to PATH when I click install button? if I updated the version of app image ,I won't got the cli binary to be updated until I click the install button again?

why just symlink to the app image itself ,and,judge the basename in the entrypoint to known if we want to lauch the UI or cli

ihipop avatar Jul 14 '23 00:07 ihipop