From e9cdfc352ab1b6480a37b06def87ace6d0b41b9d Mon Sep 17 00:00:00 2001
From: Enes Hecan
Date: Thu, 17 Oct 2024 19:56:01 +0200
Subject: [PATCH] Follow the lowercase naming where possible
---
.github/workflows/release.yml | 10 +++++-----
README.md | 2 +-
appimage/AppImageBuilder.yml | 2 +-
debian/copyright | 2 +-
src/util/Settings.cpp | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e619812..613c10d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,7 +50,7 @@ jobs:
with:
recipe: "./appimage/AppImageBuilder.yml"
env:
- UPDATE_INFO: gh-releases-zsync|xeco23|WasIstLos|${{ env.RELEASE_VERSION }}|*x86_64.AppImage.zsync
+ UPDATE_INFO: gh-releases-zsync|xeco23|wasistlos|${{ env.RELEASE_VERSION }}|*x86_64.AppImage.zsync
- name: Push Tag
id: push-tag
@@ -87,8 +87,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
- asset_path: "WasIstLos_${{ env.RELEASE_VERSION }}_amd64.deb"
- asset_name: "WasIstLos_${{ env.RELEASE_VERSION }}_amd64.deb"
+ asset_path: "wasistlos_${{ env.RELEASE_VERSION }}_amd64.deb"
+ asset_name: "wasistlos_${{ env.RELEASE_VERSION }}_amd64.deb"
asset_content_type: application/deb
- name: Upload Snap Package
@@ -109,8 +109,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
- asset_path: "WasIstLos-${{ env.RELEASE_VERSION }}-x86_64.AppImage"
- asset_name: "WasIstLos-${{ env.RELEASE_VERSION }}-x86_64.AppImage"
+ asset_path: "wasistlos-${{ env.RELEASE_VERSION }}-x86_64.AppImage"
+ asset_name: "wasistlos-${{ env.RELEASE_VERSION }}-x86_64.AppImage"
asset_content_type: application/appimage
- name: Publish Snap to Store
diff --git a/README.md b/README.md
index 8cb8bec..3d7283a 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ An unofficial WhatsApp desktop application for Linux.
-
+
diff --git a/appimage/AppImageBuilder.yml b/appimage/AppImageBuilder.yml
index c0ca923..c89aab6 100644
--- a/appimage/AppImageBuilder.yml
+++ b/appimage/AppImageBuilder.yml
@@ -3,7 +3,7 @@ AppDir:
path: ./AppDir
app_info:
id: com.github.xeco23.WasIstLos
- name: WasIstLos
+ name: wasistlos
icon: com.github.xeco23.WasIstLos
version: !ENV ${RELEASE_VERSION}
exec: usr/bin/wasistlos
diff --git a/debian/copyright b/debian/copyright
index 1e10b5e..f0598ef 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,5 +1,5 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: WasIstLos
+Upstream-Name: wasistlos
Upstream-Contact: https://github.com/xeco23/WasIstLos/issues
Source: https://github.com/xeco23/WasIstLos
diff --git a/src/util/Settings.cpp b/src/util/Settings.cpp
index 197ca93..f687048 100644
--- a/src/util/Settings.cpp
+++ b/src/util/Settings.cpp
@@ -60,7 +60,7 @@ namespace wfl::util
if (autostart)
{
constexpr auto const possibleDesktopFilePaths = std::array{"/usr/local/share/applications/" WFL_APP_ID ".desktop",
- "/usr/share/applications/" WFL_APP_ID ".desktop", "/snap/WasIstLos/current/share/applications/" WFL_APP_ID ".desktop"};
+ "/usr/share/applications/" WFL_APP_ID ".desktop", "/snap/wasistlos/current/share/applications/" WFL_APP_ID ".desktop"};
auto const it = std::find_if(possibleDesktopFilePaths.begin(), possibleDesktopFilePaths.end(),
[](auto const& elem)