symbolic link binary with targeted directory

2019-07-31 03:12发布

问题:

I have a binary wich loads assets with relatives paths, and I would like to put a link in /usr/bin.

I have tried ln -s ~/game_directory/game /usr/bin/game.

It launches my binary but can't load my assets because he doesn't find the folder ./assets obviously.

There is any solution for that ?

Thanks

标签: unix ln