Update HuaweiFG_file.php

This commit is contained in:
qkqpttgf 2020-08-08 11:28:21 +08:00 committed by GitHub
parent 0f9cc9451e
commit 4cdc02ec7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -522,6 +522,9 @@ function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch =
}
}
// 放入配置文件
file_put_contents($outPath . '/config.php', file_get_contents(__DIR__.'/../config.php'));
// 将目录中文件打包成zip
//$zip=new ZipArchive();
$zip=new PharData($source);