win_webview2 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win_webview2",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/nnttoo/win_webview2"
@@ -159,6 +159,11 @@ export class WW2Deploy {
159
159
  }
160
160
 
161
161
  let objstr = JSON.stringify(objConfig, null, 2);
162
+ if(fs.existsSync(jsonConfigFilePath)){
163
+ logPrint("file config is exits");
164
+ return;
165
+ }
166
+
162
167
  await fs.promises.writeFile(jsonConfigFilePath, objstr);
163
168
  }
164
169