This commit is contained in:
BingoKingo
2020-04-04 15:30:16 +08:00
parent 3d42da7816
commit 8d71cc849a
13 changed files with 6900 additions and 3999 deletions
+2 -1
View File
@@ -242,7 +242,8 @@ function_name:' . $_SERVER['function_name'] . '<br>
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
{
//'https://github.com/qkqpttgf/OneManager-php/tarball/master/';
//'original:https://github.com/qkqpttgf/OneManager-php/tarball/master/';
//'mine:https://https://github.com/BingoKingo/Tfo/tarball/master/';
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . $branch . '/';
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
}