When updating the Lister plugin, the value of the DETECT line is not updated.
Appears on any plugin.
Necessary:
1) Install a plugin that has a DETECT line.
2) Then in wincmd.ini change the value of the DETECT line for this plugin. Also, for verification, you can correct (delete or change) the contents of the installed plugin files.
3) Restart TC.
4) Install the plugin again.
5) DETECT line has not changed its value. But the plugin file set is updated with overwrite.
To solve this problem, you must explicitly remove the plugin via "Configuration\Options\Plugins\WLX\Configure\Remove" and reinstall the plugin.
It is necessary that when updating the plugin (not the first installation), the DETECT string is requested via the ListGetDetectString function and the new value is written to the configuration file. Also, to be able to remove DETECT strings with an empty value from the ListGetDetectString function.
In reality, the problem was revealed when installing a new version of the plugin, in which the plugin contained a new list of supported file extensions.
Windows 11 22H2 x64 dark mode.
[TC 11.01RC2 64 bit and below] The value of the DETECT line for Lister plugins is not updated
Moderators: Hacker, petermad, Stefan2, white
Re: [TC 11.01RC2 64 bit and below] The value of the DETECT line for Lister plugins is not updated
Absolutely not! This would overwrite any changes the user made. This topic has been discussed before with several suggestion on how it would be practical without overwriting user-made changes (x_detect_custom IIRC).iteg wrote: 2023-08-28, 12:05 UTCIt is necessary that when updating the plugin (not the first installation), the DETECT string is requested via the ListGetDetectString function and the new value is written to the configuration file.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01RC2 64 bit and below] The value of the DETECT line for Lister plugins is not updated
That's exactly the reason why no detect strings are getting updated when you update a plugin.
Moderator message
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com