rick645 Posted February 21 Share Posted February 21 (edited) Observe this instruction exec("desktop-file-install ..."); // shell command running Let's say that it can be fine, but only with linux/ubuntu (and various compatible distributions). With other operating systems... mmmhhh... that remains to be seen... You might come across it desktop-file-install: unknow command Therefore, there would be no such standard function install_desktop_file(...); // or install_desktop_entry(...); that interfaces directly with the operating system and not with the shell? Edited February 21 by rick645 Quote Link to comment https://forums.phpfreaks.com/topic/318329-install-desktop-entry/ Share on other sites More sharing options...
Solution requinix Posted February 21 Solution Share Posted February 21 Yeah no, there would definitely be no such thing. That's way too specific for PHP. Quote Link to comment https://forums.phpfreaks.com/topic/318329-install-desktop-entry/#findComment-1616190 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.