|
|
@@ -36,6 +36,15 @@ public class CheckHotUpdateRes : EditorWindow
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ [MenuItem("AssetBundle/创建最大Version")]
|
|
|
+ public static void CreateVersion()
|
|
|
+ {
|
|
|
+#if UNITY_IOS
|
|
|
+ FileHelper.WirteStringToFile(Application.dataPath+ "/StreamingAssets/unityRes/afivs", "99.99.99.99");
|
|
|
+#else
|
|
|
+ FileHelper.WirteStringToFile(Application.dataPath + "/StreamingAssets/AssetsAndroid/Version", "99.99.99.99");
|
|
|
+#endif
|
|
|
+ }
|
|
|
|
|
|
[MenuItem("AssetBundle/热更相关")]
|
|
|
public static void OpenCheckHotUpdateWindow()
|