Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configuration of the desktop file #165

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

BlueManCZ
Copy link
Contributor

Category change is based on the QA Notice from Gentoo package manager:

 * QA Notice: This package installs one or more .desktop files that do not
 * pass validation.
 * 
 * 	/usr/share/applications/tidal-hifi.desktop: error: (will be fatal in the future): value item "Audio" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: AudioVideo
 * 

The desktop name change may be subjective, but application desktop names usually start with capitalized letters and divide words with spaces. Now it looks kind of weird between other applications. I thought either TIDAL, TIDAL Hi-Fi, Tidal or Tidal Hi-Fi could look nice.

obrazek

@Mastermindzh
Copy link
Owner

Hey,

Thanks for the contribution. I'll merge and release it tomorrow 😄!

The desktop name change may be subjective

Not as much as you'd think! "HiFi" is grammatically correct, "hifi" is just me being lazy!

@Mastermindzh Mastermindzh changed the base branch from master to pr-dest September 11, 2022 20:48
@Mastermindzh Mastermindzh merged commit 87bb19a into Mastermindzh:pr-dest Sep 11, 2022
Mastermindzh added a commit that referenced this pull request Sep 11, 2022
* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>
@BlueManCZ
Copy link
Contributor Author

BlueManCZ commented Sep 12, 2022

Hey, it's strange, but these changes have not been reflected in the newest release (.deb file). Does it have to be changed somewhere else or do you cache some files?

@Mastermindzh
Copy link
Owner

@BlueManCZ, I blame you! (just kidding)

Apparently, I'm overwriting the desktop file for the .deb (and other) version(s) specifically: https://github.com/Mastermindzh/tidal-hifi/blob/master/build/electron-builder.deb.yml#L2

My best guess is due to the required "target" field.
We will have to update all the files and redeploy.

Sorry for the inconvenience. I might be able to fix it tonight though.

@BlueManCZ
Copy link
Contributor Author

Oh. That would explain the category being still Audio, but I don't see where the Name or GenericName is being overwritten, yet it still remains tidal-hifi.

@Mastermindzh
Copy link
Owner

@BlueManCZ , I expect that you have to overwrite the entire desktop file there tbh. It probably takes the default if you don't (which would be tidal-hifi).

I don't use the .deb (I use the AUR) so I didn't really test either. The .desktop file from the AUR is updated correctly but it's done AFTER electron-builder touches it.

I will devote some time to fix this soon :)

Mastermindzh added a commit that referenced this pull request Sep 25, 2022
* Pr dest (#166)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>

* Redesign of the settings window

* changed sass to scss, fixed color of switches and disabled rounded corners

Co-authored-by: Rick van Lieshout <[email protected]>
Mastermindzh added a commit that referenced this pull request Sep 25, 2022
* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

* Redesign of the settings window (#168)

* Pr dest (#166)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>

* Redesign of the settings window

* changed sass to scss, fixed color of switches and disabled rounded corners

Co-authored-by: Rick van Lieshout <[email protected]>

* - icon is set to new static path based on Arch/Debian
  - Name has changed to Tidal-Hifi

Co-authored-by: Ivo Šmerek <[email protected]>
Mastermindzh added a commit that referenced this pull request Oct 24, 2022
* Release of settings window and desktop file fixes (#169)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

* Redesign of the settings window (#168)

* Pr dest (#166)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>

* Redesign of the settings window

* changed sass to scss, fixed color of switches and disabled rounded corners

Co-authored-by: Rick van Lieshout <[email protected]>

* - icon is set to new static path based on Arch/Debian
  - Name has changed to Tidal-Hifi

Co-authored-by: Ivo Šmerek <[email protected]>

* Disable background throttling (#171)

* disable background throttling for consistent setInterval

* add disable throttle as config option

* 4.3.0

* Check if app is default protocol client before setting

Co-authored-by: Rick van Lieshout <[email protected]>
Co-authored-by: Ivo Šmerek <[email protected]>
Co-authored-by: Cukmekerb <[email protected]>
Co-authored-by: Brecht Yperman <[email protected]>
Mastermindzh added a commit that referenced this pull request Oct 24, 2022
* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

* Redesign of the settings window (#168)

* Pr dest (#166)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>

* Redesign of the settings window

* changed sass to scss, fixed color of switches and disabled rounded corners

Co-authored-by: Rick van Lieshout <[email protected]>

* - icon is set to new static path based on Arch/Debian
  - Name has changed to Tidal-Hifi

* Check if app is default protocol client before setting (#178)

* Release of settings window and desktop file fixes (#169)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

* Redesign of the settings window (#168)

* Pr dest (#166)

* Update configuration of the desktop file (#165)

* - Changed the category of the desktop file to AudioVideo
- Changed desktop file name to "TIDAL Hi-Fi"

Co-authored-by: Ivo Šmerek <[email protected]>

* Redesign of the settings window

* changed sass to scss, fixed color of switches and disabled rounded corners

Co-authored-by: Rick van Lieshout <[email protected]>

* - icon is set to new static path based on Arch/Debian
  - Name has changed to Tidal-Hifi

Co-authored-by: Ivo Šmerek <[email protected]>

* Disable background throttling (#171)

* disable background throttling for consistent setInterval

* add disable throttle as config option

* 4.3.0

* Check if app is default protocol client before setting

Co-authored-by: Rick van Lieshout <[email protected]>
Co-authored-by: Ivo Šmerek <[email protected]>
Co-authored-by: Cukmekerb <[email protected]>
Co-authored-by: Brecht Yperman <[email protected]>

* docs

Co-authored-by: Ivo Šmerek <[email protected]>
Co-authored-by: Brecht Yperman <[email protected]>
Co-authored-by: Cukmekerb <[email protected]>
Co-authored-by: Brecht Yperman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants