g4ixt / QtTinySA

A Python 'TinySA' GUI programme using Qt5 and PyQt5
GNU General Public License v3.0
106 stars 26 forks source link

Extend the self.workingDir variable to an array #40

Closed winnieXY closed 8 months ago

winnieXY commented 8 months ago

This helps if the QtTinySA.py is called from a different directory as this could cause issues if the user is working like so: python QtTinySA/QtTinySA.py or if the qttinysa python file is found in /usr/share/qttinysa and symlinked to /usr/bin/qttinysa

The array consists of the directory where called script is found - and if this is a symlink the path where the symlink points too and of course of the current working directory.