diff --git a/.github/actions/setup-d-compiler/action.yml b/.github/actions/setup-d-compiler/action.yml index 20f548e..32c72f1 100644 --- a/.github/actions/setup-d-compiler/action.yml +++ b/.github/actions/setup-d-compiler/action.yml @@ -11,7 +11,7 @@ runs: steps: - uses: dlang-community/setup-dlang@v1 with: - compiler: ldc-1.34.0 + compiler: ldc-1.41.0-beta1 - if: inputs.target-triple == 'aarch64-linux-gnu' name: "Set-up AArch64-linux cross-compiler." diff --git a/.github/actions/target-aarch64-linux-gnu/action.yml b/.github/actions/target-aarch64-linux-gnu/action.yml index 5ede231..79a7bed 100644 --- a/.github/actions/target-aarch64-linux-gnu/action.yml +++ b/.github/actions/target-aarch64-linux-gnu/action.yml @@ -12,7 +12,7 @@ runs: shell: bash run: | mkdir -p $HOME/.ldc/ - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") + LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(-beta[0-9]*)?") cat << EOF | tee $HOME/.ldc/ldc2.conf "aarch64-.*-linux-gnu": { diff --git a/.github/actions/target-arm64-apple-macos/action.yml b/.github/actions/target-arm64-apple-macos/action.yml index 795c400..7a6de52 100644 --- a/.github/actions/target-arm64-apple-macos/action.yml +++ b/.github/actions/target-arm64-apple-macos/action.yml @@ -12,7 +12,7 @@ runs: shell: bash run: | mkdir -p $HOME/.ldc/ - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") + LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(-beta[0-9]*)?") curl -LO https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.0.sdk.tar.xz tar -xf ./MacOSX11.0.sdk.tar.xz -C $HOME cp $(dirname $(which ldc2))/../etc/ldc2.conf $HOME/.ldc/ldc2.conf diff --git a/.github/actions/target-x86_64-apple-darwin/action.yml b/.github/actions/target-x86_64-apple-darwin/action.yml index 3830c1e..27d8625 100644 --- a/.github/actions/target-x86_64-apple-darwin/action.yml +++ b/.github/actions/target-x86_64-apple-darwin/action.yml @@ -12,7 +12,7 @@ runs: shell: bash run: | mkdir -p $HOME/.ldc/ - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") + LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(-beta[0-9]*)?") curl -LO https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.0.sdk.tar.xz tar -xf ./MacOSX11.0.sdk.tar.xz -C $HOME cp $(dirname $(which ldc2))/../etc/ldc2.conf $HOME/.ldc/ldc2.conf diff --git a/.github/actions/target-x86_64-windows-msvc/action.yml b/.github/actions/target-x86_64-windows-msvc/action.yml index bc6d3bd..ae18b34 100644 --- a/.github/actions/target-x86_64-windows-msvc/action.yml +++ b/.github/actions/target-x86_64-windows-msvc/action.yml @@ -12,7 +12,7 @@ runs: shell: bash run: | mkdir -p $HOME/.ldc/ - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") + LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(-beta[0-9]*)?") cat << EOF | tee $HOME/.ldc/ldc2.conf "x86_64-.*-windows-msvc": { diff --git a/dub.json b/dub.json index 690cd16..7ee4744 100644 --- a/dub.json +++ b/dub.json @@ -23,7 +23,7 @@ }, "provision": { "repository": "git+https://github.com/Dadoum/Provision.git", - "version": "645d56d8e8c86c057893321843db00b21f1aaeb2" + "version": "6b899c20a26aba8d2640188c75d184267e57fc06" }, "requests": "~>2.1", "slf4d": "~>2" diff --git a/dub.selections.json b/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/frontends/cli/dub.selections.json b/frontends/cli/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/frontends/cli/dub.selections.json +++ b/frontends/cli/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/frontends/dlangui/dub.selections.json b/frontends/dlangui/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/frontends/dlangui/dub.selections.json +++ b/frontends/dlangui/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/frontends/gtk/dub.selections.json b/frontends/gtk/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/frontends/gtk/dub.selections.json +++ b/frontends/gtk/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/frontends/qt/dub.selections.json b/frontends/qt/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/frontends/qt/dub.selections.json +++ b/frontends/qt/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/frontends/swiftui/dub.selections.json b/frontends/swiftui/dub.selections.json index c6a6d7d..b3ab13d 100644 --- a/frontends/swiftui/dub.selections.json +++ b/frontends/swiftui/dub.selections.json @@ -32,7 +32,7 @@ "plist": "~master", "plist-d": {"version":"6fdaa60d62bbf7c55044069e8f03cbe74401c444","repository":"git+https://github.com/Dadoum/libplist-d.git"}, "progress": "5.0.2", - "provision": {"version":"645d56d8e8c86c057893321843db00b21f1aaeb2","repository":"git+https://github.com/Dadoum/Provision.git"}, + "provision": {"version":"6b899c20a26aba8d2640188c75d184267e57fc06","repository":"git+https://github.com/Dadoum/Provision.git"}, "requests": "2.1.2", "sideloader": {"path":"../../"}, "silly": "1.2.0-dev.2", diff --git a/source/server/appleaccount.d b/source/server/appleaccount.d index 0efe460..89bd71c 100644 --- a/source/server/appleaccount.d +++ b/source/server/appleaccount.d @@ -159,7 +159,7 @@ package class AppleAccount { AppleSecondaryActionResponse delegate(string) submitCode; if (urlBagKey == "trustedDeviceSecondaryAuth") { submitCode = (string code) { - request.headers["security-code"] = code; + request.addHeaders([ "security-code": code ]); auto codeValidationPlist = Plist.fromXml(request.get(urls["validateCode"]).responseBody().data!string()).dict(); log.traceF!"Trusted device 2FA response: %s"(codeValidationPlist.toXml()); auto resultCode = codeValidationPlist["ec"].uinteger().native();