-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage-info.xml
32 lines (30 loc) · 2.09 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
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<!-- Generated by Simple Mod Maker -->
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>Bugo:PluginLoader</id>
<name>Plugin Loader</name>
<version>0.6</version>
<type>modification</type>
<install for="2.1.*">
<hook hook="integrate_pre_include" file="$sourcedir/PluginLoader/app.php"/>
<code>install.php</code>
<require-dir name="Sources/PluginLoader" destination="$sourcedir">Adding source files</require-dir>
<require-file name="Themes/default/PluginLoader.template.php" destination="$themedir">Adding main template file</require-file>
<require-file name="Themes/default/css/plugin_loader.css" destination="$themedir/css">Adding CSS file</require-file>
<require-file name="Themes/default/scripts/plugin_loader.js" destination="$themedir/scripts">Adding JS file</require-file>
<require-file name="Themes/default/images/switch_on.png" destination="$imagesdir/admin">Adding switch_on.png file</require-file>
<require-file name="Themes/default/images/switch_off.png" destination="$imagesdir/admin">Adding switch_off.png file</require-file>
<require-dir name="Themes/default/languages/PluginLoader" destination="$languagedir">Adding language files</require-dir>
</install>
<uninstall for="2.1.*">
<hook hook="integrate_pre_include" file="$sourcedir/PluginLoader/app.php" reverse="true"/>
<remove-dir name="$sourcedir/PluginLoader">Removing source files</remove-dir>
<remove-file name="$themedir/PluginLoader.template.php">Removing main template file</remove-file>
<remove-file name="$themedir/css/plugin_loader.css">Removing CSS file</remove-file>
<remove-file name="$themedir/scripts/plugin_loader.js">Removing JS file</remove-file>
<remove-file name="$imagesdir/admin/switch_on.png">Removing switch_on.png file</remove-file>
<remove-file name="$imagesdir/admin/switch_off.png">Removing switch_off.png file</remove-file>
<remove-dir name="$languagedir/PluginLoader">Removing language files</remove-dir>
</uninstall>
</package-info>