2019-02-23, 17:09
(2019-02-23, 15:48)latts9923 Wrote: @Kupo91
Well, no, it's not necessary. It's a want, not a need. Haha.
Try this. Close KODI, open IncludesMenuCustom and find the following code...
Code:<item>
<!-- Add-on de imagem -->
<!-- 6500 -->
<label>31021</label>
<property name="id">custom</property>
<onclick>Skin.SetString($INFO[Skin.String(custom_master)],addons)</onclick>
<onclick>Skin.SetAddon($INFO[Skin.String(custom_path)],xbmc.addon.image)</onclick>
<include>DefaultReset</include>
</item>
Under that, add this...
Code:<item>
<!-- Chrome Launcher -->
<label>CHROME LAUNCHER</label>
<property name="id">custom</property>
<onclick>System.ExecWait("/usr/bin/app-google-chrome.py")</onclick>
<include>DefaultReset</include>
</item>
Now open KODI, go to Settings>Customise Main Menu and go to an "EMPTY" selection in your menu list. Select "REPLACE THIS MENU WITH..." and in the OPTIONS list you should see "CHROME LAUNCHER".
Select that and rename the menu item to whatever you like.
Thank you very much it almost worked only issue: If I go into "REPLACE THIS MENU WITH..." and click on "CHROME LAUNCHER" it immediately starts the app xD