13 private const string EditorPrefs_BuildDir =
"_BuildDeployWindow_BuildDir";
14 private const string EditorPrefs_BuildConfig =
"_BuildDeployWindow_BuildConfig";
15 private const string EditorPrefs_BuildPlatform =
"_BuildDeployWindow_BuildPlatform";
16 private const string EditorPrefs_ForceRebuild =
"_BuildDeployWindow_ForceBuild";
17 private const string EditorPrefs_IncrementBuildVersion =
"_BuildDeployWindow_IncrementBuildVersion";
18 private const string EditorPrefs_MSBuildVer =
"_BuildDeployWindow_MSBuildVer";
19 private const string EditorPrefs_TargetIPs =
"_BuildDeployWindow_DestIPs";
20 private const string EditorPrefs_ConnectInfos =
"_BuildDeployWindow_ConnectInfos";
21 private const string EditorPrefs_DeviceUser =
"_BuildDeployWindow_DeviceUser";
22 private const string EditorPrefs_DevicePwd =
"_BuildDeployWindow_DevicePwd";
23 private const string EditorPrefs_FullReinstall =
"_BuildDeployWindow_FullReinstall";
24 private const string EditorPrefs_UseSSL =
"_BuildDeployWindow_UseSSL";
25 private const string EditorPrefs_ProcessAll =
"_BuildDeployWindow_ProcessAll";
27 public static string BuildDirectory
33 public static string AbsoluteBuildDirectory
37 string rootBuildDirectory = BuildDirectory;
38 int dirCharIndex = rootBuildDirectory.IndexOf(
"/", StringComparison.Ordinal);
39 if (dirCharIndex != -1)
41 rootBuildDirectory = rootBuildDirectory.Substring(0, dirCharIndex);
43 return Path.GetFullPath(Path.Combine(Path.Combine(Application.dataPath,
".."), rootBuildDirectory));
47 public static string MsBuildVersion
53 public static string BuildConfig
59 public static string BuildPlatform
65 public static bool ForceRebuild
71 public static bool IncrementBuildVersion
77 public static bool FullReinstall
88 EditorPrefs_ConnectInfos,
91 new ConnectInfo(
"127.0.0.1",
string.Empty,
string.Empty,
"Local Machine"))));
96 [Obsolete(
"Use DevicePortalConnections")]
97 public static string DeviceUser
103 [Obsolete(
"Use DevicePortalConnections")]
104 public static string DevicePassword
110 [Obsolete(
"Use DevicePortalConnections")]
111 public static string TargetIPs
117 public static bool UseSSL
123 public static bool TargetAllConnections