clickgo-native 0.0.18 → 0.0.19

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -536,7 +536,7 @@ function createForm(p) {
536
536
  'webPreferences': {
537
537
  'nodeIntegration': false,
538
538
  'contextIsolation': true,
539
- 'preload': path.join(__dirname, '/pre.js')
539
+ 'preload': path.join(__dirname, '/pre.js'),
540
540
  },
541
541
  'width': hasFrame ? 800 : 500,
542
542
  'height': hasFrame ? 700 : 300,
@@ -544,10 +544,10 @@ function createForm(p) {
544
544
  'resizable': false,
545
545
  'show': false,
546
546
  'center': true,
547
- 'transparent': isImmersion ? true : false
547
+ 'transparent': isImmersion ? true : false,
548
548
  };
549
549
  form = new electron.BrowserWindow(op);
550
- form.webContents.userAgent = 'electron/' + electron.app.getVersion() + ' ' + platform + '/' + process.arch + ' immersion/' + (isImmersion ? '1' : '0') + ' frame/' + (hasFrame ? '1' : '0');
550
+ form.webContents.userAgent = 'electron/' + electron.app.getVersion() + ' ' + platform + '/' + process.arch + ' immersion/' + (isImmersion ? '1' : '0') + ' frame/' + (hasFrame ? '1' : '0') + ' chrome/' + process.versions.chrome;
551
551
  form.once('ready-to-show', function () {
552
552
  if (!form) {
553
553
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo-native",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "The software developed with ClickGo will run in Windows, Mac OS, Linux.",
5
5
  "keywords": [
6
6
  "clickgo",
@@ -17,7 +17,7 @@
17
17
  "@litert/eslint-plugin-rules": "^0.3.1",
18
18
  "@litert/loader": "^3.5.9",
19
19
  "@types/node": "^24.0.14",
20
- "clickgo": "^3.16.20",
20
+ "clickgo": "^3.16.21",
21
21
  "electron": "^37.2.2",
22
22
  "jszip": "^3.10.1",
23
23
  "typescript": "^5.8.3"