Use app.sublimemusic.SublimeMusic as app ID
This commit is contained in:
@@ -89,7 +89,7 @@ Building the flatpak
|
|||||||
- The script ``flatpak_build.sh`` will run the required commands to grab the
|
- The script ``flatpak_build.sh`` will run the required commands to grab the
|
||||||
remaining dependencies and build the flatpak.
|
remaining dependencies and build the flatpak.
|
||||||
- You can install the Flatpak using: ``flatpak install sublime-music.flatpak``
|
- You can install the Flatpak using: ``flatpak install sublime-music.flatpak``
|
||||||
and run it using ``flatpak run com.sumnerevans.SublimeMusic``.
|
and run it using ``flatpak run app.sublimemusic.SublimeMusic``.
|
||||||
|
|
||||||
Code Style
|
Code Style
|
||||||
----------
|
----------
|
||||||
|
@@ -76,7 +76,7 @@ Then, you can install Sublime Music with::
|
|||||||
|
|
||||||
and run it by executing::
|
and run it by executing::
|
||||||
|
|
||||||
flatpak run com.sumnerevans.SublimeMusic
|
flatpak run app.sublimemusic.SublimeMusic
|
||||||
|
|
||||||
.. _Releases: https://gitlab.com/sublime-music/sublime-music/-/releases
|
.. _Releases: https://gitlab.com/sublime-music/sublime-music/-/releases
|
||||||
|
|
||||||
@@ -104,6 +104,11 @@ how to do that::
|
|||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|website|_
|
||||||
|
|
||||||
|
.. |website| replace:: **Click HERE for the Sublime Music website.**
|
||||||
|
.. _website: https://sublimemusic.app
|
||||||
|
|
||||||
|userdoc|_
|
|userdoc|_
|
||||||
|
|
||||||
.. |userdoc| replace:: **Click HERE for extended user documentation.**
|
.. |userdoc| replace:: **Click HERE for extended user documentation.**
|
||||||
|
@@ -80,7 +80,7 @@ Then, you can install Sublime Music with::
|
|||||||
|
|
||||||
and run it by executing::
|
and run it by executing::
|
||||||
|
|
||||||
flatpak run com.sumnerevans.SublimeMusic
|
flatpak run app.sublimemusic.SublimeMusic
|
||||||
|
|
||||||
.. _Releases: https://gitlab.com/sublime-music/sublime-music/-/releases
|
.. _Releases: https://gitlab.com/sublime-music/sublime-music/-/releases
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"app-id": "com.sumnerevans.SublimeMusic",
|
"app-id": "app.sublimemusic.SublimeMusic",
|
||||||
"runtime": "org.gnome.Platform",
|
"runtime": "org.gnome.Platform",
|
||||||
"runtime-version": "3.34",
|
"runtime-version": "3.34",
|
||||||
"sdk": "org.gnome.Sdk",
|
"sdk": "org.gnome.Sdk",
|
@@ -3,6 +3,7 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
REPO=${REPO:-/repo}
|
REPO=${REPO:-/repo}
|
||||||
|
APPID=app.sublimemusic.SublimeMusic
|
||||||
|
|
||||||
rm -rf flatpak-builder-tools
|
rm -rf flatpak-builder-tools
|
||||||
git clone https://github.com/flatpak/flatpak-builder-tools.git
|
git clone https://github.com/flatpak/flatpak-builder-tools.git
|
||||||
@@ -13,6 +14,6 @@ python3 ./flatpak-builder-tools/pip/flatpak-pip-generator \
|
|||||||
|
|
||||||
mkdir -p $REPO
|
mkdir -p $REPO
|
||||||
|
|
||||||
flatpak-builder --force-clean --repo=$REPO flatpak_build_dir com.sumnerevans.SublimeMusic.json
|
flatpak-builder --force-clean --repo=$REPO flatpak_build_dir ${APPID}.json
|
||||||
|
|
||||||
flatpak build-bundle $REPO sublime-music.flatpak com.sumnerevans.SublimeMusic
|
flatpak build-bundle $REPO sublime-music.flatpak $APPID
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Copyright 2020 Sumner Evans -->
|
<!-- Copyright 2020 Sumner Evans -->
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>com.sumnerevans.SublimeMusic</id>
|
<id>app.sublimemusic.SublimeMusic</id>
|
||||||
<metadata_license>FSFAP</metadata_license>
|
<metadata_license>FSFAP</metadata_license>
|
||||||
<project_license>GPL-3.0+</project_license>
|
<project_license>GPL-3.0+</project_license>
|
||||||
<name>Sublime Music</name>
|
<name>Sublime Music</name>
|
||||||
|
@@ -162,7 +162,7 @@ class CacheMissError(Exception):
|
|||||||
super().__init__(*args)
|
super().__init__(*args)
|
||||||
|
|
||||||
|
|
||||||
KEYRING_APP_NAME = "com.sumnerevans.SublimeMusic"
|
KEYRING_APP_NAME = "app.sublimemusic.SublimeMusic"
|
||||||
|
|
||||||
|
|
||||||
class ConfigurationStore(dict):
|
class ConfigurationStore(dict):
|
||||||
|
@@ -50,7 +50,7 @@ from .ui.state import RepeatType, UIState
|
|||||||
|
|
||||||
class SublimeMusicApp(Gtk.Application):
|
class SublimeMusicApp(Gtk.Application):
|
||||||
def __init__(self, config_file: Path):
|
def __init__(self, config_file: Path):
|
||||||
super().__init__(application_id="com.sumnerevans.sublimemusic")
|
super().__init__(application_id="app.sublimemusic.SublimeMusic")
|
||||||
if glib_notify_exists:
|
if glib_notify_exists:
|
||||||
Notify.init("Sublime Music")
|
Notify.init("Sublime Music")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user