diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index ed4fe99d8..6949d72ec 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -73,14 +73,14 @@ jobs: if: steps.cache-enchant.outputs.cache-hit != 'true' run: snapcraft build --destructive-mode enchant - - name: Telegram Desktop snap build. + - name: Kotatogram Desktop snap build. if: env.ONLY_CACHE == 'false' run: snapcraft --destructive-mode - name: Move artifact. if: env.UPLOAD_ARTIFACT == 'true' run: | - artifact_name=$(echo telegram-desktop_*.snap) + artifact_name=$(echo kotatogram-desktop_*.snap) echo ::set-env name=ARTIFACT_NAME::$artifact_name mkdir artifact diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0b4c5a3ac..a8055a951 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ -name: telegram-desktop -adopt-info: telegram +name: kotatogram-desktop +adopt-info: kotatogram icon: Telegram/Resources/art/icon512@2x.png base: core18 @@ -7,10 +7,10 @@ grade: stable confinement: strict apps: - telegram-desktop: - command: bin/desktop-launch telegram-desktop - common-id: org.telegram.desktop - desktop: share/applications/telegramdesktop.desktop + kotatogram-desktop: + command: bin/desktop-launch kotatogram-desktop + common-id: io.github.kotatogram + desktop: share/applications/kotatogramdesktop.desktop environment: # Use GTK3 cursor theme, icon theme and open/save file dialogs. QT_QPA_PLATFORMTHEME: gtk3 @@ -42,11 +42,11 @@ plugs: default-provider: gtk-common-themes parts: - telegram: + kotatogram: plugin: cmake source: . source-type: git - parse-info: [share/metainfo/telegramdesktop.appdata.xml] + parse-info: [share/metainfo/kotatogramdesktop.appdata.xml] build-packages: - gcc-8 - g++-8 @@ -108,7 +108,7 @@ parts: snapcraftctl set-version "$version" - sed -i 's|^Icon=.*|Icon=/share/icons/hicolor/512x512/apps/telegram.png|g' lib/xdg/telegramdesktop.desktop + sed -i 's|^Icon=.*|Icon=/share/icons/hicolor/512x512/apps/kotatogram.png|g' lib/xdg/kotatogramdesktop.desktop after: - cmake - desktop-qt5