File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
dist/default-build-script/Assets/Editor/UnityBuilderAction/Input Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ public class AndroidSettings
9
9
public static void Apply ( Dictionary < string , string > options )
10
10
{
11
11
EditorUserBuildSettings . buildAppBundle = options [ "customBuildPath" ] . EndsWith ( ".aab" ) ;
12
+ #if UNITY_2019_1_OR_NEWER
12
13
if ( options . TryGetValue ( "androidKeystoreName" , out string keystoreName ) && ! string . IsNullOrEmpty ( keystoreName ) )
13
14
{
14
15
PlayerSettings . Android . useCustomKeystore = true ;
15
16
PlayerSettings . Android . keystoreName = keystoreName ;
16
17
}
18
+ #endif
17
19
if ( options . TryGetValue ( "androidKeystorePass" , out string keystorePass ) && ! string . IsNullOrEmpty ( keystorePass ) )
18
20
PlayerSettings . Android . keystorePass = keystorePass ;
19
21
if ( options . TryGetValue ( "androidKeyaliasName" , out string keyaliasName ) && ! string . IsNullOrEmpty ( keyaliasName ) )
You can’t perform that action at this time.
0 commit comments