mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
system-tools: optional start mrxvt from kodi (#708)
system-tools: optional start mrxvt from kodi and bump version
This commit is contained in:
parent
bcc05bae8f
commit
3c4749442f
@ -1,2 +1,7 @@
|
|||||||
|
8.0.101
|
||||||
|
- mrxvt can be started from KODI
|
||||||
|
- correct mrxvt terminal type
|
||||||
|
- make hddtemp work
|
||||||
|
|
||||||
8.0.100
|
8.0.100
|
||||||
- Initial Release
|
- Initial Release
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
PKG_NAME="system-tools"
|
PKG_NAME="system-tools"
|
||||||
PKG_VERSION=""
|
PKG_VERSION=""
|
||||||
PKG_REV="100"
|
PKG_REV="101"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE=""
|
PKG_SITE=""
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
yes = xbmcgui.Dialog().yesno('', 'This is a console-only addon','','Open a terminal window?','No','Yes')
|
||||||
|
if yes:
|
||||||
|
subprocess.Popen(["systemd-run","sh","-c",". /etc/profile;exec mrxvt"], shell=False, close_fds=True)
|
||||||
|
|
||||||
dialog = xbmcgui.Dialog()
|
|
||||||
dialog.ok('', 'This is a console-only addon')
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user