@@ -651,13 +651,13 @@ private void AppxBuildGUI()
651651 GUILayout . FlexibleSpace ( ) ;
652652
653653 // Open AppX packages location
654- string appxDirectory = curScriptingBackend == ScriptingImplementation . IL2CPP ? $ "/AppPackages/{ PlayerSettings . productName } " : $ "/ { PlayerSettings . productName } /AppPackages";
654+ string appxDirectory = curScriptingBackend == ScriptingImplementation . IL2CPP ? "/AppPackages/" + PlayerSettings . productName : "/" + PlayerSettings . productName + " /AppPackages";
655655 string appxBuildPath = Path . GetFullPath ( BuildDeployPrefs . BuildDirectory + appxDirectory ) ;
656656 GUI . enabled = builds . Count > 0 && ! string . IsNullOrEmpty ( appxBuildPath ) ;
657657
658658 if ( GUILayout . Button ( "Open APPX Packages Location" , GUILayout . Width ( halfWidth ) ) )
659659 {
660- EditorApplication . delayCall += ( ) => Process . Start ( "explorer.exe" , $ "/f /open,{ appxBuildPath } " ) ;
660+ EditorApplication . delayCall += ( ) => Process . Start ( "explorer.exe" , "/f /open," + appxBuildPath ) ;
661661 }
662662
663663 GUI . enabled = true ;
@@ -1073,15 +1073,15 @@ private void UpdateBuilds()
10731073 builds . Clear ( ) ;
10741074
10751075 var curScriptingBackend = PlayerSettings . GetScriptingBackend ( BuildTargetGroup . WSA ) ;
1076- string appxDirectory = curScriptingBackend == ScriptingImplementation . IL2CPP ? $ "AppPackages\\ { PlayerSettings . productName } " : $ " { PlayerSettings . productName } \\ AppPackages";
1076+ string appxDirectory = curScriptingBackend == ScriptingImplementation . IL2CPP ? "AppPackages\\ " + PlayerSettings . productName : PlayerSettings . productName + " \\ AppPackages";
10771077
10781078 try
10791079 {
10801080 appPackageDirectories . Clear ( ) ;
10811081 string [ ] buildList = Directory . GetDirectories ( BuildDeployPrefs . AbsoluteBuildDirectory , "*" , SearchOption . AllDirectories ) ;
10821082 foreach ( string appBuild in buildList )
10831083 {
1084- if ( appBuild . Contains ( appxDirectory ) && ! appBuild . Contains ( $ " { appxDirectory } \\ ") )
1084+ if ( appBuild . Contains ( appxDirectory ) && ! appBuild . Contains ( appxDirectory + " \\ ") )
10851085 {
10861086 appPackageDirectories . AddRange ( Directory . GetDirectories ( appBuild ) ) ;
10871087 }
0 commit comments