public UpdateCompleteNotification(SquirrelUpdateManager updateManager)
            {
                Text = @"更新已安裝, 點擊重新啟動遊戲!";

                Activated = () =>
                {
                    updateManager.PrepareUpdateAsync()
                    .ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
                    return(true);
                };
            }
Example #2
0
            public UpdateCompleteNotification(SquirrelUpdateManager updateManager)
            {
                Text = @"Update ready to install. Click to restart!";

                Activated = () =>
                {
                    updateManager.PrepareUpdateAsync()
                    .ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
                    return(true);
                };
            }
Example #3
0
            public UpdateCompleteNotification(SquirrelUpdateManager updateManager)
            {
                Text = @"У нас тут обнова приехала, давай перезапускай игру!";

                Activated = () =>
                {
                    updateManager.PrepareUpdateAsync()
                    .ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
                    return(true);
                };
            }
Example #4
0
 public UpdateProgressNotification(SquirrelUpdateManager updateManager)
 {
     this.updateManager = updateManager;
 }