DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Better Update Script For DMS

Open JDKamalakar opened this issue 1 month ago • 10 comments

Feature Description

Better Way To Update The DMS Automatic Installation as using current installation script dosent update to latest version automatically. Because Of That I Am Stuck On V0.4.3

There are Some Configs That Update Using Different Script For Update

Compositor

Is this feature specific to one compositor?

  • [x] All compositors
  • [x] niri
  • [ ] Hyprland
  • [ ] dwl (MangoWC)
  • [ ] sway

Proposed Solution

A separate Script For Update

Alternatives/Existing Solutions

There are Some Configs That Update Using Different Script For Update, I'll Update It Here As Soon As I Remember Which Config It Was !!

JDKamalakar avatar Nov 14 '25 03:11 JDKamalakar

What's wrong with the update? Can you share your distribution here.

bbedward avatar Nov 14 '25 03:11 bbedward

What's wrong with the update? Can you share your distribution here.

Unable to update DMS to latest 0.5.1 with install script. Fedora 43 KDE

JDKamalakar avatar Nov 14 '25 06:11 JDKamalakar

On fedora you should just install from copr and dnf upgrade, the install script installs from copr

bbedward avatar Nov 14 '25 13:11 bbedward

On fedora you should just install from copr and dnf upgrade, the install script installs from copr

I tried dnf upgrade / dnf update but dms didn't Updated The DMS.

Also I Downloaded DMS Package (Tar.gz) for v0.5.1 & installed it maually but it still show 0.5.0.

JDKamalakar avatar Nov 14 '25 14:11 JDKamalakar

The package version is wrong, part of monorepo migration headaches. Will be correct on next rlease.

but you should pin yourself to the dnf version to make your life easier...there's no reason to otherwise on Fedora except for development.

dms kill
rm -r ~/.config/quickshell/dms
sudo rm /usr/local/bin/dms
sudo dnf copr enable avengemedia/dms
sudo dnf install dms
dms run -d

to upgrade

sudo dnf upgrade dms
# or just dnf upgrade

This is all covered in the docs: https://danklinux.com/docs/dankmaterialshell/installation#fedora--derivatives - including the manual installation if you don't want to install from copr for some reason

bbedward avatar Nov 14 '25 18:11 bbedward

sudo dnf upgrade dms

See update command dosen't work as i mentioned previously

Image

JDKamalakar avatar Nov 15 '25 02:11 JDKamalakar

sudo dnf upgrade dms was the very last command to run in that chain of events. bbedward stated to remove the local installer build and install directly from the Copr repo. This will ensure you're always up to date with the latest builds. https://copr.fedorainfracloud.org/coprs/avengemedia/dms-git/

Purian23 avatar Nov 15 '25 02:11 Purian23

I installed 0.4.1 using curl -fsSL https://install.danklinux.com | sh method in Ubuntu 25.10. dms version shows 0.4.1, even after I ran dms update or dms and chose update options with every new releases.

Image

santhoshtr avatar Nov 15 '25 05:11 santhoshtr

I installed 0.4.1 using curl -fsSL https://install.danklinux.com | sh method in Ubuntu 25.10. dms version shows 0.4.1, even after I ran dms update or dms and chose update options with every new releases.

Image

For ubuntu (not fedora like OP), update the dms manually, then it will be good in the future (hopefully).

sudo sh -c "curl -L https://github.com/AvengeMedia/DankMaterialShell/releases/latest/download/dms-cli-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').gz | gunzip | tee /usr/local/bin/dms > /dev/null && chmod +x /usr/local/bin/dms"

then

dms kill
dms update
dms run -d

bbedward avatar Nov 15 '25 05:11 bbedward

For ubuntu (not fedora like OP), update the dms manually, then it will be good in the future (hopefully).

Thanks. this helped. dms update is now better.

santhoshtr avatar Nov 15 '25 06:11 santhoshtr