fca-dragon 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module.exports = async function(Stable_Version) {
|
|
4
4
|
const fs = require('fs');
|
5
5
|
const Database = require('../Database');
|
6
6
|
const { execSync } = require('child_process');
|
7
|
-
const { body } = await got('https://raw.githubusercontent.com/hoangquangtuong/fca-Dragon/main/package.json
|
7
|
+
const { body } = await got('https://raw.githubusercontent.com/hoangquangtuong/fca-Dragon/main/package.json');
|
8
8
|
const json = JSON.parse(body);
|
9
9
|
const LocalVersion = require('../../package.json').version;
|
10
10
|
if (Number(LocalVersion.replace(/\./g,"")) < Number(json.version.replace(/\./g,"")) && global.Fca.Require.FastConfig.Stable_Version.Accept == false || Stable_Version && Number(LocalVersion.replace(/\./g,"")) != Number(Stable_Version.replace(/\./g,""))) {
|