-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage-info.xml
52 lines (51 loc) · 2.3 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
<?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>smftricks:shop</id>
<name>ST Shop</name>
<version>4.1.12</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>
<!-- Credits -->
<credits url="https://smftricks.com" license="MPL 2.0" copyright="SMF Tricks" licenseurl="https://www.mozilla.org/en-US/MPL/2.0/">ST Shop</credits>
<!-- License -->
<license type="inline" parsebbc="false">
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.
</license>
<!-- Templates and Languages -->
<require-dir name="Themes" destination="$boarddir">Theme files</require-dir>
<!-- Item Images -->
<require-dir name="shop_items" destination="$boarddir">Shop items and modules</require-dir>
<!-- Shop Files -->
<require-dir name="Sources" destination="$boarddir">Source files</require-dir>
<!-- Database -->
<database>install.php</database>
<!-- Hooks -->
<hook hook="integrate_pre_load" function="Shop\Shop::initialize" file="$sourcedir/Shop/Shop.php" />
<!-- Redirect -->
<redirect url="?action=admin;area=shopinfo">redirect.txt</redirect>
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Hooks Remove -->
<hook hook="integrate_pre_load" function="Shop\Shop::initialize" file="$sourcedir/Shop/Shop.php" reverse="true" />
<!-- Source Files -->
<remove-dir name="$sourcedir/Shop">Source files</remove-dir>
<!-- Languages -->
<remove-dir name="$languagedir/Shop">Language files</remove-dir>
<!-- Images -->
<remove-file name="$imagesdir/icons/shop.png">Shop icon</remove-file>
<remove-dir name="$imagesdir/icons/shop">Shop Stats icons</remove-dir>
<!-- Templates -->
<remove-dir name="$themedir/Shop">Template files</remove-dir>
<!-- Item Modules and Images -->
<remove-dir name="$boarddir/shop_items">Shop items</remove-dir>
<!-- Database -->
<database>install.php</database>
<!-- Tasks-->
<code>uninstall.php</code>
</uninstall>
</package-info>