Commit b860cc2 1 parent 0d107ef commit b860cc2 Copy full SHA for b860cc2
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,13 @@ QString OCUpdater::statusString() const
153
153
case DownloadTimedOut:
154
154
return tr (" Could not check for new updates." );
155
155
case UpdateOnlyAvailableThroughSystem:
156
+ #ifdef Q_OS_LINUX
157
+ // https://docs.appimage.org/packaging-guide/environment-variables.html
158
+ // TODO: update once AppImageUpdate has been implemented
159
+ if (qEnvironmentVariableIsSet (" APPIMAGE" )) {
160
+ return tr (" New %1 available. Please click <a href='%2'>here</a> to download the new AppImage manually." ).arg (updateVersion, _updateInfo.web ());
161
+ }
162
+ #endif
156
163
return tr (" New %1 available. Please use the system's update tool to install it." ).arg (updateVersion);
157
164
case CheckingServer:
158
165
return tr (" Checking update server..." );
You can’t perform that action at this time.
0 commit comments