Well I have been able to make slight progress in that now the build completes without any errors. however when i test the snap it fails.
summary: SMath Mathematical program with WYSIWYG editor
Tiny, powerful, free mathematical program with WYSIWYG editor and complete units of measurements support. It provides numerous computing features and rich user interface translated into about 40 different languages. Application also contains integrated mathematical reference book.
wget --post-data "RefMem=&PostBack=5TGzK" https://smath.com/file/5TGzK/SMathStudioDesktop.0_99_7030.Mono.tar.gz
cp SMathStudioDesktop.0_99_7030.Mono.tar.gz $SNAPCRAFT_PART_INSTALL/smath/.
tar -xzvf SMathStudioDesktop.0_99_7030.Mono.tar.gz -C $SNAPCRAFT_PART_INSTALL/smath
chmod +x $SNAPCRAFT_PART_INSTALL/smath/smathstudio_desktop_mono
And the terminal output:
'grade' property not specified: defaulting to 'stable'.
Snapping 'smath' /
tom@Airhover:~/mysnaps/smath/snap$ sudo snap install smath_0.99.7030_amd64.snap --devmode --dangerous
smath 0.99.7030 installed
Cannot open assembly './SMathStudio_Desktop.exe': No such file or directory.
So the smath_studio_desktop_mono command is a shell script that points to the executable file therefore I am hopeful that it is almost there.
However since it didn’t land in debug mode anymore how to check why it can’t see the executable?
from the tar it should end up in the same directory as the script.