symbolic link binary with targeted directory
问题 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 来源: https://stackoverflow.com/questions/44433262/symbolic-link-binary-with-targeted-directory