Esempio n. 1
0
        public void Create()
        {
            // load reign image
            string path  = NSBundle.MainBundle.PathForResource("Images/Logo", "png", "", "Images/");
            var    image = new NSImage(path);

            imageView.Image = image;

            // set UI values
            InjectorCore.FindUnityPath();
            InjectorCore.LoadPaths();
            unityPath.StringValue     = checkNull(InjectorCore.UnityPath);
            barFileName.StringValue   = checkNull(InjectorCore.BarFileName);
            scoreloopPath.StringValue = checkNull(InjectorCore.ScoreloopBundlePath);
            keyName.StringValue       = checkNull(InjectorCore.KeyPassword);
            signBarFile.State         = InjectorCore.SignBarFile ? NSCellStateValue.On : NSCellStateValue.Off;
            phoneIP.StringValue       = checkNull(InjectorCore.PhoneIP);
            phoneLockPass.StringValue = checkNull(InjectorCore.PhonePass);

            unityClassicMode.Activated += unityClassicMode_Click;

            unityPath.Changed     += unityPath_Changed;
            barFileName.Changed   += barFileName_Changed;
            scoreloopPath.Changed += scoreloopPath_Changed;
            keyName.Changed       += keyName_Changed;
            phoneIP.Changed       += phoneIP_Changed;
            phoneLockPass.Changed += phoneLockPass_Changed;

            // get button events
            applyButton.Activated         += applyButton_Click;
            selectBarFile.Activated       += selectBarFile_Click;
            selectScoreloopData.Activated += selectScoreloopData_Click;
            signBarFile.Activated         += signBarFile_Click;
            uploadButton.Activated        += uploadButton_Click;
        }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();

            InjectorCore.FindUnityPath();
            InjectorCore.LoadPaths();
            unityPath.Text      = InjectorCore.UnityPath;
            apkFile.Text        = InjectorCore.ApkFileName;
            androidPath.Text    = InjectorCore.AndroidSDKPath;
            signText.Text       = InjectorCore.KeyPassword;
            signCheck.IsChecked = InjectorCore.SignApkFile;

            phoneIP.Text = InjectorCore.PhoneIP;
        }
Esempio n. 3
0
        public MainWindow()
        {
            InitializeComponent();

            InjectorCore.FindUnityPath();
            InjectorCore.LoadPaths();
            unityText.Text      = InjectorCore.UnityPath;
            barText.Text        = InjectorCore.BarFileName;
            scoreText.Text      = InjectorCore.ScoreloopBundlePath;
            signText.Text       = InjectorCore.KeyPassword;
            signCheck.IsChecked = InjectorCore.SignBarFile;

            phoneIP.Text       = InjectorCore.PhoneIP;
            phoneLockPass.Text = InjectorCore.PhonePass;
        }