forked from NanoSector/DevCenter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-info.xml
More file actions
36 lines (36 loc) · 1.63 KB
/
package-info.xml
File metadata and controls
36 lines (36 loc) · 1.63 KB
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
<?xml version="1.0"?>
<!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>Yoshi2889:DevCenter</id>
<name>Dev Center</name>
<version>0.5.1</version>
<type>modification</type>
<install for="2.1 - 2.1.99">
<!-- Mod Readme -->
<readme lang="english" parsebbc="true" type="file">readme/readme.english.txt</readme>
<!-- License -->
<license type="inline" parsebbc="false">
This Source Code Form is subject to the terms of the General Public
License, v. 3.0. If a copy of the GPL was not distributed with this
file, You can obtain one at https://www.gnu.org/licenses/gpl-3.0.en.html.
</license>
<!-- Theme Files -->
<require-dir name="Themes" destination="$boarddir">Language files</require-dir>
<!-- Source File -->
<require-file name="Sources/Subs-DevCenter.php" destination="$sourcedir" />
<!-- Hooks -->
<hook hook="integrate_pre_load" function="DevCenter::init#" file="$sourcedir/Subs-DevCenter.php" />
<!-- Redirect -->
<redirect url="?action=admin;area=modsettings;sa=devcenter" />
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Hooks -->
<hook hook="integrate_pre_load" function="DevCenter::init#" file="$sourcedir/Subs-DevCenter.php" reverse="true" />
<!-- Source File -->
<remove-file name="$sourcedir/Subs-DevCenter.php">Source file</remove-file>
<!-- Theme Files -->
<remove-file name="$themedir/DevCenter.template.php">Template file</remove-file>
<!-- Languages -->
<remove-dir name="$languagedir/DevCenter">Language files</remove-dir>
</uninstall>
</package-info>