更新UWP应用程序时,LocalStorage总是被删除? [英] LocalStorage always deleted when updating a UWP app?

查看:136
本文介绍了更新UWP应用程序时,LocalStorage总是被删除?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我使用Construct 2和3创建应用程序和游戏,最近通过Creators Program向Xbox One发布了我的第一个游戏。 :)

但我注意到更新似乎删除了所有本地保存的数据(LocalStorage插件),如设置或高分等。更新时是否可以保存已保存的数据?

Hi! I create apps and games with Construct 2 and 3 and recently published my first game via Creators Program to Xbox One. :)
But I noticed that a update seems to delete all locally saved data (LocalStorage plugin) like settings or highscores etc. Is it possible to keep the saved data when updating?

真诚地,

Alexander S。

sincerely,
Alexander S.

推荐答案

不应删除本地存储空间更新。它应该在删除应用程序时删除。

Local storage shouldn't be deleted on update. It should be deleted only when the app is removed.

也就是说,Visual Studio中有一些设置可以在部署新副本时删除应用程序,如果更改了包名称等属性那么你就是在有效地创建一个不会共享数据的新应用。

That said, there are settings in Visual Studio to remove the app when deploying a new copy and if you change properties such as the package name then you're effectively creating a new app which won't share the data.


这篇关于更新UWP应用程序时,LocalStorage总是被删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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