From 6c07dbb55184fd0369be8d2c9112b92e63de8f69 Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Thu, 27 Aug 2026 11:13:40 +0800 Subject: [PATCH 1/5] fix: remove md extension mimetype before adding --- web.config | 1 + 1 file changed, 1 insertion(+) diff --git a/web.config b/web.config index 934f4c4a..b15d3caa 100644 --- a/web.config +++ b/web.config @@ -5,6 +5,7 @@ + From 8b1c9457a0a0b1a9ff087fd5725045584532b004 Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Mon, 31 Aug 2026 13:46:18 +0800 Subject: [PATCH 2/5] Create .gitattributes --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..dfdb8b77 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf From 07c8ac7cbad63ca0e4758f16e53da9aaf98d591d Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Mon, 31 Aug 2026 13:47:21 +0800 Subject: [PATCH 3/5] Update download.sh --- scripts/download.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/download.sh b/scripts/download.sh index a42fcd20..90ed9c1d 100644 --- a/scripts/download.sh +++ b/scripts/download.sh @@ -119,3 +119,4 @@ echo "=== Build completed ===" echo "Final directory: $FINAL_DIR" echo "Final directory contents:" ls -la "$FINAL_DIR" + From 70d01fe6bd3ef81b2f1adcdb4437126c9847dcd8 Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Tue, 1 Sep 2026 17:33:05 +0800 Subject: [PATCH 4/5] note default value for SelectSourceAsync() --- _articles/info/api/WebTwain_Acquire.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_articles/info/api/WebTwain_Acquire.md b/_articles/info/api/WebTwain_Acquire.md index 73dd77c3..aeaaed57 100644 --- a/_articles/info/api/WebTwain_Acquire.md +++ b/_articles/info/api/WebTwain_Acquire.md @@ -689,7 +689,7 @@ SelectSourceAsync(deviceType?: Dynamsoft.DWT.EnumDWT_DeviceType | number): Promi **Parameters** -`deviceType`: Specify the device type of scanners. Please refer to [`EnumDWT_DeviceType`](/_articles/info/api/Dynamsoft_Enum.md#dynamsoftdwtenumdwt_devicetype). +`deviceType`: Specify the device type of scanners. Please refer to [`EnumDWT_DeviceType`](/_articles/info/api/Dynamsoft_Enum.md#dynamsoftdwtenumdwt_devicetype). The default value selects the following device types: `TWAINSCANNER | WIASCANNER | TWAINX64SCANNER | ICASCANNER | SANESCANNER`. **Availability**
From ab5341731de7957d5ec8f508fd5c12aa0cfde558 Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Tue, 1 Sep 2026 17:34:04 +0800 Subject: [PATCH 5/5] update the prefix for offline license --- _articles/general-usage/license.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_articles/general-usage/license.md b/_articles/general-usage/license.md index be6f73d1..fcfdc6b6 100644 --- a/_articles/general-usage/license.md +++ b/_articles/general-usage/license.md @@ -71,7 +71,7 @@ DLS-connected license keys begin with the `DLS` prefix. Learn more about the Dyn
-Offline license keys usually begin with the `f00` prefix. +Offline license keys usually begin with the `f` prefix. 1. Without add-ons: activate the license in the customer portal, then acquire the offline key. This key only authorizes the use of the core DWT module. 2. With add-ons: activate the license in the customer portal, then acquire the offline keys. This may result in multiple license keys - one for the base DWT module, and separate ones for the add-ons. To use multiple keys in a single project, concatenate them (in any order) into a single string, separated with semicolons. @@ -110,7 +110,7 @@ To use a full license key, set the value of [`Dynamsoft.DWT.ProductKey`](/_artic 2. Assign the license key string to [`Dynamsoft.DWT.ProductKey`](/_articles/info/api/Dynamsoft_WebTwainEnv.md#productkey): ```javascript - Dynamsoft.DWT.ProductKey = 'f00******;'; // Use an offline key + Dynamsoft.DWT.ProductKey = 'f********;'; // Use an offline key ``` 3. Load (or reload, if replacing an existing key) the web application and see that it starts scanning.