plusui-native 0.2.35 → 0.2.37
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.37",
|
|
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-bindgen": "^0.1.
|
|
30
|
+
"plusui-native-builder": "^0.1.36",
|
|
31
|
+
"plusui-native-bindgen": "^0.1.36"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-bindgen": "^0.1.
|
|
34
|
+
"plusui-native-bindgen": "^0.1.36"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -104,8 +104,8 @@ struct WebGPUConfig {
|
|
|
104
104
|
// MAIN - Application Entry Point
|
|
105
105
|
// ============================================================================
|
|
106
106
|
int main() {
|
|
107
|
-
//
|
|
108
|
-
auto
|
|
107
|
+
// Build the app with configuration
|
|
108
|
+
auto appBuilder = createApp()
|
|
109
109
|
.title(appConfig.name)
|
|
110
110
|
.width(windowConfig.width)
|
|
111
111
|
.height(windowConfig.height)
|
|
@@ -118,8 +118,8 @@ int main() {
|
|
|
118
118
|
.skipTaskbar(!windowConfig.showInTaskbar)
|
|
119
119
|
.scrollbars(windowConfig.scrollbars)
|
|
120
120
|
.enableFileDrop(windowConfig.enableFileDrop);
|
|
121
|
-
|
|
122
|
-
auto mainWindow =
|
|
121
|
+
|
|
122
|
+
auto mainWindow = appBuilder.build();
|
|
123
123
|
|
|
124
124
|
// ========================================
|
|
125
125
|
// ICON SETUP
|
|
@@ -104,8 +104,8 @@ struct WebGPUConfig {
|
|
|
104
104
|
// MAIN - Application Entry Point
|
|
105
105
|
// ============================================================================
|
|
106
106
|
int main() {
|
|
107
|
-
//
|
|
108
|
-
auto
|
|
107
|
+
// Build the app with configuration
|
|
108
|
+
auto appBuilder = createApp()
|
|
109
109
|
.title(appConfig.name)
|
|
110
110
|
.width(windowConfig.width)
|
|
111
111
|
.height(windowConfig.height)
|
|
@@ -118,8 +118,8 @@ int main() {
|
|
|
118
118
|
.skipTaskbar(!windowConfig.showInTaskbar)
|
|
119
119
|
.scrollbars(windowConfig.scrollbars)
|
|
120
120
|
.enableFileDrop(windowConfig.enableFileDrop);
|
|
121
|
-
|
|
122
|
-
auto mainWindow =
|
|
121
|
+
|
|
122
|
+
auto mainWindow = appBuilder.build();
|
|
123
123
|
|
|
124
124
|
// Set app icon from embedded assets
|
|
125
125
|
#ifdef ASSET_ICON_PNG
|