diff --git a/build-flatpak.sh b/build-flatpak.sh index 9c17fa7..12892f6 100644 --- a/build-flatpak.sh +++ b/build-flatpak.sh @@ -1,4 +1,4 @@ -#!/usr/env/bash +#!/usr/bin/env bash # Convert the archive of the Flutter app to a Flatpak. @@ -12,8 +12,8 @@ set -x # No spaces in project name. -projectName=RluvClient -projectId=com.rluv.client +projectName=rluvApp +projectId=com.fosscat.rluv executableName=rluv @@ -32,7 +32,7 @@ ln -s /app/$projectName/$executableName /app/bin/$executableName # Install the icon. iconDir=/app/share/icons/hicolor/scalable/apps mkdir -p $iconDir -cp -r assets/icons/$projectId.svg $iconDir/ +cp -r assets/app_icon.png $iconDir/ # Install the desktop file. desktopFileDir=/app/share/applications diff --git a/com.rluv.client.yml b/com.fosscat.rluv.yml similarity index 72% rename from com.rluv.client.yml rename to com.fosscat.rluv.yml index da1b054..677baa7 100644 --- a/com.rluv.client.yml +++ b/com.fosscat.rluv.yml @@ -1,9 +1,9 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json --- -app-id: com.rluv.client +app-id: com.fosscat.rluv runtime: org.freedesktop.Platform -runtime-version: "22.08" +runtime-version: "23.08" sdk: org.freedesktop.Sdk command: rluv separate-locales: false @@ -23,9 +23,9 @@ modules: build-commands: - "./build-flatpak.sh" sources: - - type: file - url: https://github.com/Merrit/flutter_flatpak_example/releases/download/v1.0.0/FlutterApp-Linux-Portable.tar.gz - sha256: 5dc57e4f5b84e6527098cb1e011ef50413c660147f5da7dfbfb507527e44eb83 + # - type: file + # url: https://github.com/Merrit/flutter_flatpak_example/releases/download/v1.0.0/FlutterApp-Linux-Portable.tar.gz + # sha256: 5dc57e4f5b84e6527098cb1e011ef50413c660147f5da7dfbfb507527e44eb83 - type: dir path: ../rluv-client # - type: git