Closed GregoryWullimann closed 5 years ago
Looks good! Thanks for this @GregoryWullimann
Just tested it (on Mac) and seems to work great,
I am guessing you have tested on Linux? (I haven't got a Linux machine to test it on)
I am guessing you have tested on Linux? (I haven't got a Linux machine to test it on)
Yes, tested with Elementary OS 5.0!
Hi,
Upon request of Michele Gianella I've made a couple of fixes in order to make the AppImage work well on Unix. I'm unsure if these problem were also on other platforms.
First change was that the
trim()
function was applied to an array an not to a String, this lead to the complete crash of the AppImage.The second change is that, from my understanding, AppImage can't modify files that are not in the
home
of the user. So instead of creating the file inappPath+"/src/tmp/segmentedtext.tmp.txt"
, the file is now created in~/tmp/segmentedtext.tmp.txt
.