Beispiel #1
0
        public void Init()
        {
            FrameworkLocalVersion = FrameworkLocalVersion.Get();

            mPackageDatas = PackageInfosRequestCache.Get().PackageDatas;

            EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas => { mPackageDatas = packageDatas; }));
        }
        public void Init(PreferencesWindow window)
        {
            mMainWindow = window;

            mPackageDatas = PackageInfosRequestCache.Get().PackageDatas;

            InstalledPackageVersions.Reload();

            EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas => { mPackageDatas = packageDatas; }));
        }
        public void Init(EditorWindow window)
        {
            FrameworkLocalVersion = FrameworkLocalVersion.Get();

            mPackageDatas = PackageInfosRequestCache.Get().PackageDatas;

            InstalledPackageVersions.Reload();

            EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas => { mPackageDatas = packageDatas; }));
        }
Beispiel #4
0
        private void ProcessCompare()
        {
            EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas =>
            {
                if (packageDatas == null)
                {
                    return;
                }

                if (CheckNewVersionDialog(packageDatas, PackageInfosRequestCache.Get().PackageDatas))
                {
                }
            }));

            ReCheckConfigDatas();
            GoToWait();
        }
Beispiel #5
0
        private void ProcessCompare()
        {
            EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas =>
            {
                if (packageDatas == null)
                {
                    return;
                }
                if (packageDatas.Count != PackageInfosRequestCache.Get().PackageDatas.Count)
                {
                    ShowDisplayDialog();
                }
            }));

            ReCheckConfigDatas();
            GoToWait();
        }
Beispiel #6
0
        private void ProcessCompare()
        {
            if (Network.IsReachable)
            {
                new PackageManagerServer().GetAllRemotePackageInfoV5((packageDatas, res) =>
                {
                    if (packageDatas == null)
                    {
                        return;
                    }

                    if (new PackageManagerModel().VersionCheck)
                    {
                        CheckNewVersionDialog(packageDatas, PackageInfosRequestCache.Get().PackageRepositories);
                    }
                });
            }

            ReCheckConfigDatas();
            GoToWait();
        }
Beispiel #7
0
        private void ProcessCompare()
        {
            if (NetworkUtil.IsReachable)
            {
                EditorActionKit.ExecuteNode(new GetAllRemotePackageInfo(packageDatas =>
                {
                    if (packageDatas == null)
                    {
                        return;
                    }

                    if (FrameworkPMView.VersionCheck)
                    {
                        CheckNewVersionDialog(packageDatas, PackageInfosRequestCache.Get().PackageDatas);
                    }
                }));
            }

            ReCheckConfigDatas();
            GoToWait();
        }
Beispiel #8
0
 public PackageManagerModel()
 {
     Repositories = PackageInfosRequestCache.Get().PackageRepositories;
 }