maharmstone / ntfs2btrfs

GNU General Public License v2.0
678 stars 29 forks source link

Symlinked executable does not work #64

Closed sitiom closed 1 year ago

sitiom commented 1 year ago

Hi, I am trying to add ntfs2btrfs to Winget: https://github.com/microsoft/winget-pkgs/pull/94782. The manifest successfully installs, but the symlinked executable (ntfs2btrfs.exe) silently fails without any output: image

However, calling the executable directly works: image

Can you fix it so that the symlinked executable will try to resolve the dependencies on the actual executable directory? Thanks.

maharmstone commented 1 year ago

I'm linking to the DLLs normally, I'm not doing anything weird.

I don't know anything about winget, but I can't imagine that it doesn't handle DLLs. I think you either need to fix your YAML file, or add a dependency on zlib and lzo, assuming they're also winget packages.

sitiom commented 1 year ago

but I can't imagine that it doesn't handle DLLs.

Indeed, it doesn't 😅

maharmstone commented 1 year ago

That's pretty poor!

sitiom commented 1 year ago

Yes, it seems like I can only add static portable builds to Winget in the meantime: