From e1421439c90b9a3b8092e7cd4a1cd08841e9666e Mon Sep 17 00:00:00 2001 From: Guldoman Date: Fri, 9 Jun 2023 15:18:02 +0200 Subject: [PATCH] Change AppID (#1187) This ID reflects our domain (lite-xl.com). --- README.md | 4 ++-- meson.build | 4 ++-- resources/README.md | 4 ++-- ..._xl.lite_xl.appdata.xml => com.lite_xl.LiteXL.appdata.xml} | 4 ++-- ...org.lite_xl.lite_xl.desktop => com.lite_xl.LiteXL.desktop} | 0 scripts/appimage.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) rename resources/linux/{org.lite_xl.lite_xl.appdata.xml => com.lite_xl.LiteXL.appdata.xml} (89%) rename resources/linux/{org.lite_xl.lite_xl.desktop => com.lite_xl.LiteXL.desktop} (100%) diff --git a/README.md b/README.md index 5d7e947b..f8f701b6 100644 --- a/README.md +++ b/README.md @@ -122,8 +122,8 @@ To uninstall just run: ```sh rm -f $HOME/.local/bin/lite-xl rm -rf $HOME/.local/share/icons/hicolor/scalable/apps/lite-xl.svg \ - $HOME/.local/share/applications/org.lite_xl.lite_xl.desktop \ - $HOME/.local/share/metainfo/org.lite_xl.lite_xl.appdata.xml \ + $HOME/.local/share/applications/com.lite_xl.LiteXL.desktop \ + $HOME/.local/share/metainfo/com.lite_xl.LiteXL.appdata.xml \ $HOME/.local/share/lite-xl ``` diff --git a/meson.build b/meson.build index cfef8ec8..c3b0569c 100644 --- a/meson.build +++ b/meson.build @@ -192,10 +192,10 @@ else install_data('resources/icons/lite-xl.svg', install_dir : 'share/icons/hicolor/scalable/apps' ) - install_data('resources/linux/org.lite_xl.lite_xl.desktop', + install_data('resources/linux/com.lite_xl.LiteXL.desktop', install_dir : 'share/applications' ) - install_data('resources/linux/org.lite_xl.lite_xl.appdata.xml', + install_data('resources/linux/com.lite_xl.LiteXL.appdata.xml', install_dir : 'share/metainfo' ) endif diff --git a/resources/README.md b/resources/README.md index cf30432c..4cd85256 100644 --- a/resources/README.md +++ b/resources/README.md @@ -9,8 +9,8 @@ This folder contains resources that is used for building or packaging the projec ### Packaging - `icons/icon.{icns,ico,inl,rc,svg}`: lite-xl icon in various formats. -- `linux/org.lite_xl.lite_xl.appdata.xml`: AppStream metadata. -- `linux/org.lite_xl.lite_xl.desktop`: Desktop file for Linux desktops. +- `linux/com.lite_xl.LiteXL.appdata.xml`: AppStream metadata. +- `linux/com.lite_xl.LiteXL.desktop`: Desktop file for Linux desktops. - `macos/appdmg.png`: Background image for packaging MacOS DMGs. - `macos/Info.plist.in`: Template for generating `info.plist` on MacOS. See `macos/macos-retina-display.md` for details. - `windows/001-lua-unicode.diff`: Patch for allowing Lua to load files with UTF-8 filenames on Windows. diff --git a/resources/linux/org.lite_xl.lite_xl.appdata.xml b/resources/linux/com.lite_xl.LiteXL.appdata.xml similarity index 89% rename from resources/linux/org.lite_xl.lite_xl.appdata.xml rename to resources/linux/com.lite_xl.LiteXL.appdata.xml index b707ebe1..8e033d03 100644 --- a/resources/linux/org.lite_xl.lite_xl.appdata.xml +++ b/resources/linux/com.lite_xl.LiteXL.appdata.xml @@ -1,12 +1,12 @@ - org.lite_xl.lite_xl + com.lite_xl.LiteXL MIT MIT Lite XL A lightweight text editor written in Lua - org.lite_xl.lite_xl.desktop + com.lite_xl.LiteXL.desktop

diff --git a/resources/linux/org.lite_xl.lite_xl.desktop b/resources/linux/com.lite_xl.LiteXL.desktop similarity index 100% rename from resources/linux/org.lite_xl.lite_xl.desktop rename to resources/linux/com.lite_xl.LiteXL.desktop diff --git a/scripts/appimage.sh b/scripts/appimage.sh index 17551a48..0548450d 100644 --- a/scripts/appimage.sh +++ b/scripts/appimage.sh @@ -138,7 +138,7 @@ generate_appimage() { mv AppRun LiteXL.AppDir/ # These could be symlinks but it seems they doesn't work with AppimageLauncher cp resources/icons/lite-xl.svg LiteXL.AppDir/ - cp resources/linux/org.lite_xl.lite_xl.desktop LiteXL.AppDir/ + cp resources/linux/com.lite_xl.LiteXL.desktop LiteXL.AppDir/ if [[ $ADDONS == true ]]; then addons_download "${BUILD_DIR}"