rustdesk icon indicating copy to clipboard operation
rustdesk copied to clipboard

1.1.9 for Fedora rpm does not create /u/s/applications/rustdesk.desktop anymore

Open Cyborgscode opened this issue 3 years ago • 4 comments

Rustdesk does not show up in desktop app list anymore, because the /usr/share/applications/rustdesk.desktop file is not created.

As soon as the old desktopfile is recreated i.e. manually, it reappears in the list.

...

How did you install RustDesk?

dnf update https://github.com/<path-to-newest-release.rpm>

from 1.1.8 to 1.1.9


FEDORA 35 Rustdesk 1.1.9 with Cinnamon

Cyborgscode avatar Jun 26 '22 21:06 Cyborgscode

@fufesou

rustdesk avatar Jun 27 '22 00:06 rustdesk

Thanks for report. #911

fufesou avatar Jul 04 '22 02:07 fufesou

how about packaging rust desk for fedora centos and others ?

itamarjp avatar Jul 04 '22 02:07 itamarjp

how about packaging rust desk for fedora centos and others ?

I've read and tested the scripts. They all seems good on upgrading.

rpm

rpm.spec and rpm-suse.spec #911

debian

DEBIAN works good.

man dpkg

-i, --install package-file... Install the package. If --recursive or -R option is specified, package-file must refer to a directory instead.

       Installation consists of the following steps:

       1. Extract the control files of the new package.

       2. If another version of the same package was installed before the new installation, execute prerm script of the old package.

       3. Run preinst script, if provided by the package.

       4. Unpack the new files, and at the same time back up the old files, so that if something goes wrong, they can be restored.

       5. If another version of the same package was installed before the new installation, execute the postrm script of the old package. Note that this script is executed after the preinst
       script of the new package, because new files are written at the same time old files are removed.

       6. Configure the package. See --configure for detailed information about how this is done.

The scritps order of upgrading package is:

  1. old prerm
  2. new preinst
  3. old postrm
  4. new postinst

pacman

pacman_install

install, upgrade, remove are completely implemented by 6 functions. The functions are independent to each other.

fufesou avatar Jul 04 '22 06:07 fufesou