plusui-native 0.2.78 → 0.2.82
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": "plusui-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.82",
|
|
4
4
|
"description": "PlusUI CLI - Build C++ desktop apps modern UI ",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"semver": "^7.6.0",
|
|
28
28
|
"which": "^4.0.0",
|
|
29
29
|
"execa": "^8.0.1",
|
|
30
|
-
"plusui-native-builder": "^0.1.
|
|
31
|
-
"plusui-native-connect": "^0.1.
|
|
30
|
+
"plusui-native-builder": "^0.1.80",
|
|
31
|
+
"plusui-native-connect": "^0.1.80"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-connect": "^0.1.
|
|
34
|
+
"plusui-native-connect": "^0.1.80"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
package/src/index.js
CHANGED
|
@@ -690,9 +690,8 @@ function buildBackend(platform = null, devMode = false) {
|
|
|
690
690
|
if (platformConfig.generator) {
|
|
691
691
|
cmakeArgs += ` -G "${platformConfig.generator}"`;
|
|
692
692
|
} else if (process.platform === 'win32') {
|
|
693
|
-
// Use Ninja on Windows to avoid VS generator compatibility issues
|
|
694
693
|
// Use embedded debug info (/Z7) to avoid VS 2026 PDB creation bug (C1041)
|
|
695
|
-
cmakeArgs += ' -
|
|
694
|
+
cmakeArgs += ' -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded';
|
|
696
695
|
}
|
|
697
696
|
|
|
698
697
|
log(`Configuring CMake...`, 'blue');
|
|
@@ -884,11 +883,10 @@ async function startBackend() {
|
|
|
884
883
|
|
|
885
884
|
const buildDir = getDevBuildDir();
|
|
886
885
|
|
|
887
|
-
// On Windows, use
|
|
888
|
-
// Also use embedded debug info (/Z7) to avoid VS 2026 PDB creation bug (C1041)
|
|
886
|
+
// On Windows, use embedded debug info (/Z7) to avoid VS 2026 PDB creation bug (C1041)
|
|
889
887
|
let generatorArgs = '';
|
|
890
888
|
if (process.platform === 'win32') {
|
|
891
|
-
generatorArgs = ' -
|
|
889
|
+
generatorArgs = ' -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded';
|
|
892
890
|
}
|
|
893
891
|
|
|
894
892
|
// Auto-clean build dir if generator changed (e.g. VS → Ninja)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
2
|
import plusui from 'plusui';
|
|
3
3
|
// Generated by `plusui connect` — channel objects auto-created from name.on / name.emit usage:
|
|
4
|
+
import { customFileDrop } from '../../Connections/connections.gen';
|
|
4
5
|
|
|
5
6
|
function App() {
|
|
6
7
|
const [windowSize, setWindowSize] = useState({ width: 0, height: 0 });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSignal, onMount, onCleanup, Show, For } from 'solid-js';
|
|
2
2
|
import plusui from 'plusui';
|
|
3
3
|
// Generated by `plusui connect` — channel objects auto-created from name.on / name.emit usage:
|
|
4
|
-
import { customFileDrop } from '
|
|
4
|
+
import { customFileDrop } from '../../Connections/connections.gen';
|
|
5
5
|
|
|
6
6
|
function App() {
|
|
7
7
|
const [windowSize, setWindowSize] = createSignal({ width: 0, height: 0 });
|