Compare commits

..

No commits in common. "3cfbd0da62fcdee4cd0d397013b47e16c46bcc9a" and "7b61a073bd8fa9367940c6b548c0b6f70e132b6c" have entirely different histories.

2 changed files with 544 additions and 559 deletions

View File

@ -138,7 +138,7 @@ app.on('ready', () => {
// 获取当前脚本所在目录的绝对路径
const currentDirectory = __dirname;
// 获取安装父目录
const parentDirectory = path.resolve(currentDirectory, '..');
const parentDirectory = path.resolve(currentDirectory, '../..');
const customFolderPath = path.join(parentDirectory, 'Downloads');
if (!fs.existsSync(customFolderPath)) {
// 如果不存在,则创建文件夹

File diff suppressed because it is too large Load Diff