You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/packaging-guide/optional/updates.rst
+8-8
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ Currently, there is only one backend available to update AppImages : `ZSync2 <ht
26
26
27
27
28
28
29
-
Using appimagetool
30
-
^^^^^^^^^^^^^^^^^^
29
+
If packaged with appimagetool
30
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
31
32
32
Use :code:`appimagetool -u` to embed update information (as specified in the AppImageSpec) and generate the corresponding :code:`.zsync` file you can upload to the place mentioned in the update information.
33
33
@@ -47,22 +47,22 @@ is called the *update information*.
47
47
Please see https://github.com/AppImage/AppImageSpec/blob/master/draft.md#update-information for a description of allowable types of update information.
48
48
49
49
50
-
Using linuxdeploy
51
-
^^^^^^^^^^^^^^^^^
50
+
If packaged with linuxdeploy
51
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52
52
53
53
:ref:`linuxdeploy's <ref-linuxdeploy>` `AppImage plugin <https://github.com/linuxdeploy/linuxdeploy-plugin-appimage>`__ supports an environment variable ``$UPDATE_INFORMATION`` (or short ``$UPD_INFO``) that can be used to set the update information manually.
54
54
55
55
Please see `the README <https://github.com/linuxdeploy/linuxdeploy-plugin-appimage#optional-variables>`__ for details.
56
56
57
57
58
-
Using linuxdeployqt
59
-
^^^^^^^^^^^^^^^^^^^
58
+
If packaged with linuxdeployqt
59
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
60
61
61
:code:`linuxdeployqt` uses :code:`appimagetool` internally. If it recognizes that it is running on Travis CI, then it automatically generates the matching update information.
62
62
63
63
64
-
Using electron-builder
65
-
^^^^^^^^^^^^^^^^^^^^^^
64
+
If packaged with electron-builder
65
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
66
67
67
:code:`electron-builder` promotes its own updater scheme rather than the update information described in this documentation, in order to have the same mechanism on Linux as is used on Windows. Unfortunately this means that AppImages generated by :code:`electron-builder` cannot be updated using the usual tools.
0 commit comments