bigbigmdm / IMSProg

IMSProg - software for CH341A-based programmers to work with I2C, SPI and MicroWire EEPROM/Flash chips
https://antenna-dvb-t2.ru/IMSProg.php
GNU General Public License v3.0
215 stars 38 forks source link

Editor launch from toolbar #17

Closed blackPantherOS closed 8 months ago

blackPantherOS commented 9 months ago

To run the editor program from the main window of the programmer: It seems that you didn't apply the my patch to the editor's relative path in mainwindow.cpp, so the program can't be launched from the programmer's toolbar, only from the command line or a separated icon. The reason for this is that when the user launches itt, it is not in /usr/bin, but in its home directory, therefore the relative path will be invalid.

I am attaching two pictures to help you understand the problems...

First showing the binary compiled from the current source code: wrong_path

And this binary working fine after applying the my patch : patched

bigbigmdm commented 9 months ago

Can you please tell me if this is the main branch (1.1.2 tag)? I run this program normally...

bigbigmdm commented 9 months ago

Please show me that path again :) I can't find your comment...

bigbigmdm commented 9 months ago

I'm sorry! I found this Pull Request!

bigbigmdm commented 9 months ago

Please see the latest changes to the source code. I'm sorry! I got confused when combining the branches...

bigbigmdm commented 8 months ago

Thank you. I link to you in the debian/copyright.