mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
use bundled iproxy on AppImage builds
This commit is contained in:
+3
-3
@@ -207,11 +207,11 @@ void iFuseWidget::onMountClicked()
|
||||
Check if running in AppImage
|
||||
this is set by the plugin script
|
||||
*/
|
||||
if (qEnvironmentVariableIsSet("IFUSE_APPIMAGE")) {
|
||||
ifuseExecutablePath = qgetenv("IFUSE_APPIMAGE");
|
||||
if (qEnvironmentVariableIsSet("IFUSE_BIN_APPIMAGE")) {
|
||||
ifuseExecutablePath = qgetenv("IFUSE_BIN_APPIMAGE");
|
||||
if (ifuseExecutablePath.isEmpty()) {
|
||||
setStatusMessage("Error: Running in AppImage mode, but "
|
||||
"IFUSE_APPIMAGE is not set.",
|
||||
"IFUSE_BIN_APPIMAGE is not set.",
|
||||
true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user