Source
xxxxxxxxxx
201
201
datadirs.push_back(datapath);
202
202
casacore::AppStateSource::initialize(new PlotmsDataState(datadirs));
203
203
// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
204
204
// set up Qt Plugin Path
205
205
// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
206
206
pluginpath += "Plugins";
207
207
QCoreApplication::addLibraryPath(QString(pluginpath.c_str( )));
208
208
}
209
209
210
210
} else if ( begins_with(exepath,"/tmp/.mount") && ends_with(exepath,"/usr/bin/casaplotms") ||
211
-
ends_with(exepath,"/casaplotms.app/usr/bin/casaplotms") ) {
211
+
ends_with(exepath,"/casaplotms.app/usr/bin/casaplotms") ||
212
+
ends_with(exepath,"/squashfs-root/usr/bin/casaplotms") ) {
212
213
213
214
// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
214
215
// linux -- path is specific to package format
215
216
//
216
217
// .../AppRun implies AppImage bash script startup, e.g. from an unpacked AppImage
217
218
// .../CASAplotms.app/usr/bin/CASAplotms implies debugging or running from the
218
219
// build tree before it has been packaged
219
220
//
220
221
// - - - - - - - - - - - - - - - - - - - - - - - - -
221
222
// initialize CASAplotms app data...