diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2022-02-11 23:29:13 +0100 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2022-02-11 23:29:13 +0100 |
| commit | 378e299f8fb227f37ae876dac915a0e3d8ca42c5 (patch) | |
| tree | 9e8cb8f8729a60489ae3e196305788245efd07d9 | |
| parent | 39f4ebe2106e5bc681c16c46888a1af327f19e0a (diff) | |
| download | lite-xl-378e299f8fb227f37ae876dac915a0e3d8ca42c5.tar.gz lite-xl-378e299f8fb227f37ae876dac915a0e3d8ca42c5.zip | |
Fix a new things about the appimage script
Using the work of @redtide fixing a few bits.
It works but the need to allow for an unspecified version
when invoking build-package.sh.
| -rw-r--r-- | resources/linux/org.lite_xl.lite_xl.appdata.xml | 4 | ||||
| -rw-r--r-- | scripts/appimage.sh | 2 | ||||
| -rw-r--r-- | scripts/package.sh | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/resources/linux/org.lite_xl.lite_xl.appdata.xml b/resources/linux/org.lite_xl.lite_xl.appdata.xml index c5895178..49c23430 100644 --- a/resources/linux/org.lite_xl.lite_xl.appdata.xml +++ b/resources/linux/org.lite_xl.lite_xl.appdata.xml @@ -17,11 +17,11 @@ <screenshots> <screenshot type="default"> <caption>The editor window</caption> - <image>https://lite-xl.github.io/assets/img/screenshots/editor.png</image> + <image>https://lite-xl.com/assets/img/editor.png</image> </screenshot> </screenshots> - <url type="homepage">https://lite-xl.github.io</url> + <url type="homepage">https://lite-xl.com</url> <provides> <binary>lite-xl</binary> diff --git a/scripts/appimage.sh b/scripts/appimage.sh index 8844fafe..8571d394 100644 --- a/scripts/appimage.sh +++ b/scripts/appimage.sh @@ -31,7 +31,7 @@ STATIC_BUILD=false for i in "$@"; do case $i in - -h|--belp) + -h|--help) show_help exit 0 ;; diff --git a/scripts/package.sh b/scripts/package.sh index f6d26d00..90c30580 100644 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -252,7 +252,10 @@ main() { fi fi - if [[ $appimage == true ]]; then source scripts/appimage.sh; fi + if [[ $appimage == true ]]; then + # FIXME: manage the case when version is not set + bash scripts/appimage.sh -n -b "$build_dir" --version $version + fi if [[ $bundle == true && $dmg == true ]]; then source scripts/appdmg.sh "${package_name}"; fi if [[ $innosetup == true ]]; then source scripts/innosetup/innosetup.sh -b "${build_dir}"; fi } |
