Updated xdg-open version to support KDE6#198
Conversation
|
i cannot merge this PR with this changes. please provide link to upstream source of new binary. |
|
@pi0 xdg-open is included in xdg-utils, which is being maintained by this community : https://www.freedesktop.org/wiki/Software/xdg-utils/ Here is the repo : https://gitlab.freedesktop.org/xdg/xdg-utils The file is scripts/xdg-open.in . I just looked at the file and it seems to be even more recent than the one I sent in the PR. It uses functions from other scripts in xdg-utils, like detectDE, exit_success, exit_failure_operation_failed, exit_failure_syntax, exit_failure_operation_impossible, check_input_file, has_display, first_word, and kfmclient_fix_exit_code. Those functions need to be added into xdg-open, if you want to avoid having to use the entire xdg-utils library. Edit : Here is an official source for the package. xdg-utils-1.2.1-2.3.noarch.rpm contains a flattened version of the file, which will allow you to grab the entire xdg-open file without having to modify it : https://software.opensuse.org/package/xdg-utils Here is the command I used to make the file readable :
|
|
Do you think can you help on writing a mini script to download/vendor binary as js? |
|
@pi0 this js script seems to work on my computer (linux), it outputs the xdg-open script into output-xdg-open.txt in the working directory. The link is for the specific version I linked previously. If you are on windows, you could try this ( I haven't tested it ) For the Windows version, you need to install packages :
|
|
@pi0 a more simple way, if you want to avoid using the whole new version, would be to do this : In the xdg-open.ts file from the listhen package, the one I wanted to modify in this pull request, do CTRL+F to find the single occurence of the string |
|
@pi0 Any update on this ? The issue can be a simple fix, you only need to add two characters so that becomes |
resolves #197