在开发Windows程序的时候,需要找到程序在电脑上的安装目录
var path = Directory.current.path;
在开发Windows应用程序时,常常需要获取程序的安装目录。通过使用`Directory.current.path`,开发者可以得到当前执行文件所在的路径,从而定位到程序的安装位置。
在开发Windows程序的时候,需要找到程序在电脑上的安装目录
var path = Directory.current.path;
1644
1151
5310

被折叠的 条评论
为什么被折叠?