-
Notifications
You must be signed in to change notification settings - Fork 0
/
package-info.xml
78 lines (65 loc) · 4.48 KB
/
package-info.xml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>sleepy:devtools</id>
<name>Developer Tools</name>
<version>1.1.3</version>
<type>modification</type>
<upgrade from="1.1-1.1.2" for="2.1.*">
<require-file name="DevTools.php" destination="$sourcedir" />
<require-file name="DevTools/DevTools-File.php" destination="$sourcedir/DevTools" />
<require-file name="DevTools/DevTools-Hooks.php" destination="$sourcedir/DevTools" />
<require-file name="DevTools/DevTools-Packages.php" destination="$sourcedir/DevTools" />
<require-file name="languages/DevTools.russian.php" destination="$themes_dir/default/languages" />
</upgrade>
<upgrade from="1.0.*" for="2.1.*">
<require-file name="DevTools.php" destination="$sourcedir" />
<require-dir name="DevTools" destination="$sourcedir" />
<remove-file name="$sourcedir/DevTools-Packages.php" error="skip" />
<remove-file name="$sourcedir/DevTools-Hooks.php" error="skip" />
<require-file name="DevTools.template.php" destination="$themedir" />
<require-file name="DevTools.js" destination="$themes_dir/default/scripts" />
<require-file name="languages/DevTools.english.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.spanish_es.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.spanish_latin.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.russian.php" destination="$themes_dir/default/languages" />
</upgrade>
<install for="SMF 2.1.*">
<readme>README.txt</readme>
<require-file name="DevTools.php" destination="$sourcedir" />
<require-dir name="DevTools" destination="$sourcedir" />
<require-file name="DevTools.template.php" destination="$themedir" />
<require-file name="DevTools.js" destination="$themes_dir/default/scripts" />
<require-file name="languages/DevTools.english.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.spanish_es.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.spanish_latin.php" destination="$themes_dir/default/languages" />
<require-file name="languages/DevTools.russian.php" destination="$themes_dir/default/languages" />
<hook hook="integrate_actions" function="DevTools::hook_actions" file="$sourcedir/DevTools.php" object="true" />
<hook hook="integrate_current_action" function="DevTools::hook_current_action" file="$sourcedir/DevTools.php" object="true" />
<hook hook="integrate_validateSession" function="DevTools::hook_validateSession" file="$sourcedir/DevTools.php" object="true" />
<hook hook="integrate_redirect" function="DevTools::hook_redirect" file="$sourcedir/DevTools.php" object="true" />
<hook hook="integrate_load_theme" function="DevTools::hook_load_theme" file="$sourcedir/DevTools.php" object="true" />
</install>
<uninstall for="SMF 2.1.*">
<hook reverse="true" hook="integrate_current_action" function="DevTools::hook_current_action" file="$sourcedir/DevTools.php" object="true" />
<hook reverse="true" hook="integrate_actions" function="DevTools::main_action" file="$sourcedir/DevTools.php" object="true" />
<hook reverse="true" hook="integrate_validateSession" function="DevTools::hook_validateSession" file="$sourcedir/DevTools.php" object="true" />
<hook reverse="true" hook="integrate_redirect" function="ErrorPoDevToolspup::hook_redirect" file="$sourcedir/DevTools.php" object="true" />
<hook reverse="true" hook="integrate_load_theme" function="DevTools::hook_load_theme" file="$sourcedir/DevTools.php" object="true" />
<remove-file name="$themes_dir/default/languages/DevTools.english.php" />
<remove-file name="$themes_dir/default/languages/DevTools.spanish_es.php" />
<remove-file name="$themes_dir/default/languages/DevTools.spanish_latin.php" />
<remove-file name="$themes_dir/default/languages/DevTools.russian.php" />
<remove-file name="$themedir/DevTools.template.php" />
<remove-file name="$themes_dir/default/scripts/DevTools.js" />
<remove-file name="$sourcedir/DevTools.php" />
<remove-dir name="$sourcedir/DevTools" />
</uninstall>
<devtools>
<packagename>{CUSTOMIZATION-NAME}_{VERSION}</packagename>
<exclusion>.git</exclusion>
<exclusion>.github</exclusion>
<exclusion>.scrutinizer.yml</exclusion>
<exclusion>screenshots</exclusion>
<exclusion>SECURITY.md</exclusion>
</devtools>
</package-info>