1 # Pack all themes in a single package
4 %szPackagePath = $file.homedir(KVIrc-Giant-Theme-Pack-1.0.0.kvt)
5 # The name of the package
6 %szPackageName = "KVIrc Giant Theme Pack"
7 # The version of the package
8 %szPackageVersion = "1.0.0"
9 # The description of the themes package
10 %szPackageDescription = "A big fat pack of themes"
12 %szPackageAuthor = "Szymon Tomasz Stefanek"
13 # You can put a path to an image here, it will be used as package presentation image
16 ################################################################################################
18 %dir = $file.extractPath($0)
20 echo "Packing all themes in directory %dir"
22 %aDirs = $file.ls(%dir,d)
28 if(%d == "." || %d == "..")
31 echo "Theme directory %d"
33 %inf = $theme.info(%dir/%d);
35 if(%inf{"name"} == "")
37 if(%inf{"version"} == "")
40 echo "Theme name is "%inf{"name"}
41 echo "Theme version is "%inf{"version"}
50 %szPackageDescription \