forked from kvirc/kvirc-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpack-one.kvs
28 lines (21 loc) · 795 Bytes
/
pack-one.kvs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Pack a single addon
%szAddonName = "AutoAway"
%szAddonVersion = "2.0.0"
%szDescription = "This simple addon makes you enter away state automatically after a certain period of inactivity. You can configure the timeout interval and the away message."
%szAuthor = "Szymon Tomasz Stefanek"
%szMinKVIrcVersion = "4.3.2"
%szImage = "autoaway/pics/autoaway_128.png"
%szPath = "autoaway"
################################################################################################
%dir = $file.extractPath($0)
%szOutPath = %dir/%szAddonName-%szAddonVersion.kva
addon.pack \
%szOutPath \
%szAddonName \
%szAddonVersion \
%szDescription \
%szAuthor \
%szMinKVIrcVersion \
%dir/%szImage \
%dir/%szPath
echo "Package is ready at" %szOutPath "("$file.size(%szOutPath) "bytes)"