File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
OneSignalExample/Assets/OneSignalPackager/Editor Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 2828using System . IO ;
2929using System . Linq ;
3030using UnityEditor ;
31+ using UnityEngine ;
3132
3233namespace OneSignalSDK
3334{
@@ -56,17 +57,12 @@ public static void ExportUnityPackage()
5657 var filePaths = _filePaths ( ) ;
5758 Debug . Log ( $ "File paths to export: { filePaths } ") ;
5859
59- if ( filePaths . Length == 0 )
60- {
61- Debug . LogError ( "ERROR: No file paths returned by _filePaths()!" ) ;
62- EditorApplication . Exit ( 1 ) ;
63- return ;
64- }
65-
6660 Debug . Log ( "Starting AssetDatabase.ExportPackage..." ) ;
6761
62+ var exportPath = "Assets/OneSignal" ;
63+
6864 AssetDatabase . ExportPackage (
69- _filePaths ( ) ,
65+ exportPath ,
7066 packageName ,
7167 ExportPackageOptions . Recurse | ExportPackageOptions . IncludeDependencies
7268 ) ;
You can’t perform that action at this time.
0 commit comments