updated readme.md
* a template in the AppDir tree instead of hardcoded values * replaced linuxdeployqt with linuxdeployqt-continuous-x86_64.AppImage in the commandline example
This commit is contained in:
@@ -53,10 +53,12 @@ You'll need to provide the basic structure of an `AppDir` which should look some
|
|||||||
├── applications
|
├── applications
|
||||||
│ └── your_app.desktop
|
│ └── your_app.desktop
|
||||||
└── icons
|
└── icons
|
||||||
└── hicolor
|
└── <theme>
|
||||||
└── 256x256
|
└── <resolution>
|
||||||
└── your_app.png
|
└── your_app.png
|
||||||
```
|
```
|
||||||
|
Replace `<theme>` and `<resolution>` with (for example) `hicolor` and `256x256` respectively; see [icon theme spec](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html) for more details.
|
||||||
|
|
||||||
|
|
||||||
Using the desktop file `linuxdeployqt` can determine the parameters of the build.
|
Using the desktop file `linuxdeployqt` can determine the parameters of the build.
|
||||||
|
|
||||||
@@ -77,7 +79,7 @@ Categories=Office;
|
|||||||
|
|
||||||
Read more about desktop files in the [freedesktop specification here](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html).
|
Read more about desktop files in the [freedesktop specification here](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html).
|
||||||
|
|
||||||
Now you can say: `linuxdeployqt path/to/AppDir/usr/share/applications/your_app.desktop`
|
Now you can say: `linuxdeployqt-continuous-x86_64.AppImage path/to/AppDir/usr/share/applications/your_app.desktop`
|
||||||
|
|
||||||
For a more detailed example, see "Using linuxdeployqt with Travis CI" below.
|
For a more detailed example, see "Using linuxdeployqt with Travis CI" below.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user