Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart button in options #34

Open
7twin opened this issue Nov 15, 2017 · 5 comments
Open

Restart button in options #34

7twin opened this issue Nov 15, 2017 · 5 comments

Comments

@7twin
Copy link

7twin commented Nov 15, 2017

I think a restart button that changes from disabled to enabled as soon as there is changes needing a restart would be great.

@JakubSteplowski
Copy link
Owner

Nice idea! :)

@JakubSteplowski
Copy link
Owner

Unfortunately it's a feature available only on Fall Creators Update...

I can only close the app, since I want to keep the support for Creators Update (and bring it to Anniversary Update in future).

And a "close" button wouldn't be very useful.

But in future I will implement this (I will need to create a separate package for Fall Creators Update).

@7twin
Copy link
Author

7twin commented Nov 15, 2017

Is it not possible to just do: Application.Restart(); Process.GetCurrentProcess().Kill(); ?

@JakubSteplowski
Copy link
Owner

@7twin Application.Restart() is not supported in UWP apps.

They implemented the RequestRestartAsync API in the Fall Creators Update.
https://github.com/Microsoft/AppModelSamples/tree/master/Samples/TestRestart

immagine

@7twin
Copy link
Author

7twin commented Nov 15, 2017

Ah I see, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants