leoheck / kiri

Kiri is a visual tool designed for reviewing schematics and layouts of KiCad projects that are version-controlled with Git.
MIT License
493 stars 35 forks source link

Find KIRI_HOME_PATH even if $0 is symlink #74

Closed MarcelRobitaille closed 1 year ago

MarcelRobitaille commented 1 year ago

If kiri is run via a symlink, then KIRI_HOME_PATH will point to the directory of the symlink, not the true kiri home directory.