cpvrlab/ImagePlay

_template folder missing in AppImage

Opened this issue · 2 comments

When trying to generate plugin code on Linux with the AppImage, the log messages show, that the _template folder cannot be accessed.

Workaround

  • set paths in settings
    2018-07-03_001
  • clone git repo and copy _template folder from
    ./ImagePlay/media/plugin_development/_template
    to /home/karl/imageplay/plugindev
  • If the folder that should be generated already exists, delete or rename it.
  • now the code generation should succeed
l00mi commented

The AppImage was kindly provided by @probonopd. He might give us a hint?

The application should check upon launch whether $HOME/imageplay/plugindev exists and if it doesn't, copy it out of the AppImage to that location. The directory's location inside the AppImage shall be determined by using e.g., QString QCoreApplication::applicationDirPath() and constructing a relative path from there.