Setup Devtools exports (#3)
Jeremy D

Jeremy D commited on 2023-03-29 18:17:21
Showing 3 changed files, with 7 additions and 1 deletions.


* Setup Devtools exports

* Minor bug
... ...
@@ -19,7 +19,7 @@ class ErrorPopup
19 19
 	*/
20 20
 	public static function hook_current_action(): void
21 21
 	{
22
-		global $context, $scripturl;
22
+		global $context, $scripturl, $txt;
23 23
 		static $calledOnce = false;
24 24
 
25 25
 		if ($calledOnce)
... ...
@@ -26,4 +26,10 @@
26 26
 		<require-file name="ErrorPopup.php" destination="$sourcedir" />
27 27
 	</upgrade>
28 28
 
29
+	<devtools>
30
+		<packagename>{CUSTOMIZATION-NAME}_{VERSION-}</packagename>
31
+		<exclusion>.git</exclusion>
32
+		<exclusion>.scrutinizer.yml</exclusion>
33
+		<exclusion>screenshots</exclusion>
34
+	</devtools>
29 35
 </package-info>
30 36
\ No newline at end of file