新建一个项目,项目只能使用 netstandard2。 其 csproj 文件完整内容如下: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netst[......]继续阅读

2023年11月21日 0条评论 1567点热度 0人点赞 痴者工良 阅读全文

Create a new project that only uses netstandard2. The complete content of its csproj file is as follows: <Project Sdk="Microsoft.NET.Sdk"[......]继续阅读

2023年11月21日 0条评论 164点热度 0人点赞 痴者工良 阅读全文

自家的软件安装后,需要更新,更新文件完成后还需要修改注册表中关于程序的版本号。 软件安装后,会被写入注册表中。 所以只需要修改注册表的 DisplayVersion 即可,不同的程序可能还需要修改其它属性,例如 Version、DisplayName。 修改注册表可能需要管理员权限,这要看软件是[......] 继续阅读

2023年10月23日 0条评论 1910点热度 0人点赞 痴者工良 阅读全文

After installing the software, it requires an update. Once the update file is complete, the version number of the program in the registry also needs[......] 继续阅读

2023年10月23日 0条评论 1934点热度 0人点赞 痴者工良 阅读全文

默认 webview2 使用英文语言显示,包括控制台、打印台等地方,都是英文提示,因此可以修改为本地语言。 public static void SetWebviewLanguage(string language = "zh-CN") { v[......]继续阅读

2023年9月14日 0条评论 2084点热度 0人点赞 痴者工良 阅读全文

By default, WebView2 displays in English, including in places like the console and print interface. However, it can be modified to use the local langu[......] 继续阅读

2023年9月14日 0条评论 76点热度 0人点赞 痴者工良 阅读全文

默认 Webview2 会被安装到系统目录,可能会导致程序启动时权限不足,无法使用 Webview2,以及多版本程序之间发生存储目录冲突。 因此需要自定义设置 Webview2 目录,最好就存储在程序安装目录下。 首先修改 App.xaml 文件,添加一行: <Application.[......]继续阅读

2023年9月14日 0条评论 2589点热度 0人点赞 痴者工良 阅读全文

Default WebView2 will be installed in the system directory, which may lead to insufficient permissions when the program starts, preventing the use of[......] 继续阅读

2023年9月14日 0条评论 74点热度 0人点赞 痴者工良 阅读全文

dpkg-reconfigure tzdata [......] 继续阅读

2019年9月5日 1条评论 3398点热度 0人点赞 痴者工良 阅读全文

dpkg-reconfigure tzdata is a command used in Debian-based Linux distributions to reconfigure the time zone data. When executed, it allows the user to[......] 继续阅读

2019年9月5日 1条评论 78点热度 0人点赞 痴者工良 阅读全文