UWP应用在启动时自动启动 [英] UWP app start automatically at startup

查看:235
本文介绍了UWP应用在启动时自动启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有内容都在标题中,我目前正在寻找一种方法,该方法仅在Windows启动时使用UWP框架自动启动 UWP 应用程序,计算机上没有文件操作。该应用程序必须能够在商店上共享并在Windows启动时打开。

All is in the title, I currently searching a way to launch my UWP app automatically at Windows startup with the UWP framework only, no file manipulation on the machine. The application must be able to be shared on the Store AND open when Windows starts.

这是否可行?

谢谢!

推荐答案

MS将添加此功能-windows.startupTask-不仅适用于转换后的桌面应用程序,还适用于UWP应用程序。

It seems that MS will add this feature - windows.startupTask - not only for converted desktop apps, but also UWP apps.

您可以在大约37:00
看到它提示,技巧和秘密:为PC构建出色的UWP应用

You can see it from about 37:00 Tip, tricks, and secrets: Building a great UWP app for PC

但是此功能尚未准备就绪-Windows 10 Fall Creators Update将提供此功能。(我已经尝试使用SDK 16225,但尚未准备就绪)

But this feature is not ready yet - It'll be available with Windows 10 Fall Creators Update.(I've tried with SDK 16225 but not ready yet)

添加了12/18/2017 -您可以使用Win10 Fall Creators Update来完成。以下文章显示详细信息。

Added 12/18/2017 - You can do it with Win10 Fall Creators Update.Following post show the details.

配置您的应用以从日志开始-in(Windows博客)

一个要点是:通过此功能,您可以启动应用程序-不会显示应用程序窗口。要查看应用程序窗口,用户应单击任务栏上的应用程序任务。这对我来说有点荒谬。从客户的角度来看,单击以开始和单击以激活是相同的行为。您可以在用户激活应用程序之前在后台执行某些任务,但这是另一回事了。

One consideration point is: By the feature, you can just 'start' the app - the app window is not shown. To see the app window, the user should click the app task at the task bar. It's a slightly ridiculous implementation for me. From the view of customer, 'click to start' and 'click to activate' is same behavior. You can do the some task in background before the user activate the app, but this is an another story.

这篇关于UWP应用在启动时自动启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆