From bd9de475b0ff6717b5875e58d980f919c0e0fe82 Mon Sep 17 00:00:00 2001 From: orin Date: Fri, 3 Nov 2023 21:14:24 +0100 Subject: [PATCH] Allow build to be specified as a string --- fetchdetect.php | 2 +- fetchupd.php | 2 +- shared/main.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fetchdetect.php b/fetchdetect.php index 3a7e04f..b640d24 100644 --- a/fetchdetect.php +++ b/fetchdetect.php @@ -2,7 +2,7 @@ $arch = isset($argv[1]) ? $argv[1] : 'amd64'; $ring = isset($argv[2]) ? $argv[2] : 'WIF'; $flight = isset($argv[3]) ? $argv[3] : 'Active'; -$build = isset($argv[4]) ? intval($argv[4]) : 16251; +$build = isset($argv[4]) ? $argv[4] : 16251; $minor = isset($argv[5]) ? intval($argv[5]) : 0; $sku = isset($argv[6]) ? intval($argv[6]) : 48; $type = isset($argv[7]) ? $argv[7] : 'Production'; diff --git a/fetchupd.php b/fetchupd.php index 4055a17..178eb95 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -2,7 +2,7 @@ $arch = isset($argv[1]) ? $argv[1] : 'amd64'; $ring = isset($argv[2]) ? $argv[2] : 'WIF'; $flight = isset($argv[3]) ? $argv[3] : 'Active'; -$build = isset($argv[4]) ? intval($argv[4]) : 16251; +$build = isset($argv[4]) ? $argv[4] : 16251; $minor = isset($argv[5]) ? intval($argv[5]) : 0; $sku = isset($argv[6]) ? intval($argv[6]) : 48; $type = isset($argv[7]) ? $argv[7] : 'Production'; diff --git a/shared/main.php b/shared/main.php index 7c2146e..7c76cf2 100644 --- a/shared/main.php +++ b/shared/main.php @@ -2,7 +2,7 @@ require_once dirname(__FILE__).'/../api/shared/main.php'; function brand($script = null) { - $projVersion = '1.1.4'; + $projVersion = '1.2.0'; return 'UUP dump standalone v'.$projVersion; }