tidal-desktop icon indicating copy to clipboard operation
tidal-desktop copied to clipboard

Cannot install from downloaded XZ file

Open elvisef opened this issue 3 years ago • 11 comments

Unfortunaltely, after using this:

tar xf tidal_desktop-vX.Y.Z.tar.xz chown -R 1000:1000 release cd release ./deploy.sh

I have this: 2022-01-20_09-01

How to fix it ?

elvisef avatar Jan 20 '22 08:01 elvisef

What distro are you using ?

dxwil avatar Jan 23 '22 17:01 dxwil

I have forked this repository and added instructions on how to download TIDAL on Gnome desktop.

https://github.com/dxwil/tidal-desktop-gnome

dxwil avatar Jan 23 '22 19:01 dxwil

Fixed with v1.0.4.

rippin93 avatar Jan 24 '22 17:01 rippin93

.desktop files do not recognize $HOME as a shortcut to your home folder and take it as a word for word path. You can see that it isn't a different color in a text editor.

There is also no icon.

dxwil avatar Jan 24 '22 17:01 dxwil

What distro are you using ?

Debian 11.x.

Unfortunately, while trying to run "./deploy.sh", an error appears: 2022-02-02_08-21

Probably the script does not create any new folders, it just tries to find existing ones. I am not using Chrome at all, only Chromium or Firefox. Sometimes Opera and Waterfox (FF based).

$HOME was changed to desired user name.

Do You have any ideas ?

elvisef avatar Feb 02 '22 07:02 elvisef

Make sure you are in the release folder, when running ./deploy.sh . You can even extract the downloaded folder manually (through GUI), then go into the release folder, open that folder in terminal and finally run ./deploy.sh. Please let me know if that works.

dxwil avatar Feb 02 '22 08:02 dxwil

There are several things that needs to be fixed:

  1. The deploy script should inject the value of $HOME into the .desktop file
  2. You can add the Icon but with the real path and without quotes.

Example:

[Desktop Entry]
Exec="/home/frank/.local/share/TIDAL-linux-x64/TIDAL" %U
Version=1.0
Type=Application
Categories=Multimedia;Audio;Music
Name=TIDAL
Terminal=false
StartupNotify=false
Icon=/home/frank/.local/share/TIDAL-linux-x64/resources/app/icon.png

mhoangvslev avatar Feb 02 '22 11:02 mhoangvslev

There are several things that needs to be fixed:

1. The deploy script should inject the value of $HOME into the .desktop file

2. You can add the Icon but with the real path and without quotes.

Example:

[Desktop Entry]
Exec="/home/frank/.local/share/TIDAL-linux-x64/TIDAL" %U
Version=1.0
Type=Application
Categories=Multimedia;Audio;Music
Name=TIDAL
Terminal=false
StartupNotify=false
Icon=/home/frank/.local/share/TIDAL-linux-x64/resources/app/icon.png

I am aware of these problems. In my fork, the second problem with the icon is fixed, however I cannot figure out how to inject the value of $HOME into the .desktop file. Perhaps using sed ? Do you have any suggestions ?

dxwil avatar Feb 04 '22 22:02 dxwil

Hey guys,

I am building the app on both an Arch Linux and on a Debian 10 system while using zsh as my shell (also set as startup shell for my user) and it works just fine for me. I wasn't aware other shells do not provide $HOME as a variable in .desktop files.

But if this is the case I currently don't have any idea how else one could get the home directory for a replacement action in the install script. You are free to provide ideas via pull requests.

Have a nice weekend, Daniel

rippin93 avatar Feb 05 '22 01:02 rippin93

I think the . desktop can be echoed line by line in deploy.sh, that way you can inject $HOME inside it.

mhoangvslev avatar Feb 05 '22 06:02 mhoangvslev

Hey all,

made up a fix during the weekend, hope this works now as an automated install script for every shell.

Please feel free to try it out (v1.0.5)

rippin93 avatar Feb 08 '22 14:02 rippin93