[Kde-games-devel] Games theme installer

Eugene Trounev eugene.trounev at gmail.com
Fri Feb 15 20:04:34 CET 2008


Hi guys,

Just a small suggestion here. Is there any way someone could write a small app 
that would do following:
Say there is theme.kgth file which is actually a .gz file containing :
theme.kgth
	|
	-theme/
		|
		... theme files
	-index.desktop

1) the app registers the kgth extention with kde extention handler, athen when 
user double clicks on theme file, the app is called.
2) app unpacks theme file onto temporary dir and reads index.desktop which 
contains description to the theme in theme/ directory, namely it tells the 
app where to copy files.
3) app copies the files exactly as index.desktop has it*.

* if XYZ destination directory doesn't exist installer should create it. If it 
contains the same files already they should be replaced.

That's all.

a sample theme.kgth theme file is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theme.kgth
Type: application/x-gzip
Size: 100285 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080215/51850c66/attachment-0001.gz 


More information about the kde-games-devel mailing list