plusui-native 0.2.32 → 0.2.34
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.34",
|
|
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.33",
|
|
31
|
+
"plusui-native-bindgen": "^0.1.33"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-bindgen": "^0.1.
|
|
34
|
+
"plusui-native-bindgen": "^0.1.33"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -126,7 +126,7 @@ int main() {
|
|
|
126
126
|
// ========================================
|
|
127
127
|
// Set app icons from embedded assets
|
|
128
128
|
#ifdef ASSET_ICON_PNG
|
|
129
|
-
mainWindow.
|
|
129
|
+
mainWindow.setIconFromMemory(ASSET_ICON_PNG, ASSET_ICON_PNG_LEN);
|
|
130
130
|
mainWindow.tray().setIconFromMemory(ASSET_ICON_PNG, ASSET_ICON_PNG_LEN);
|
|
131
131
|
#endif
|
|
132
132
|
|
|
@@ -138,10 +138,10 @@ int main() {
|
|
|
138
138
|
|
|
139
139
|
// Apply additional settings
|
|
140
140
|
if (windowConfig.opacity < 1.0) {
|
|
141
|
-
mainWindow.
|
|
141
|
+
mainWindow.setOpacity(windowConfig.opacity);
|
|
142
142
|
}
|
|
143
143
|
if (windowConfig.fullscreen) {
|
|
144
|
-
mainWindow.
|
|
144
|
+
mainWindow.setFullscreen(true);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
// ========================================
|
|
@@ -150,7 +150,7 @@ int main() {
|
|
|
150
150
|
// HEADLESS / HIDDEN STARTUP
|
|
151
151
|
// ========================================
|
|
152
152
|
if (appConfig.headless || appConfig.hiddenOnStartup) {
|
|
153
|
-
mainWindow.
|
|
153
|
+
mainWindow.hide();
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
// ========================================
|
|
@@ -123,7 +123,7 @@ int main() {
|
|
|
123
123
|
|
|
124
124
|
// Set app icon from embedded assets
|
|
125
125
|
#ifdef ASSET_ICON_PNG
|
|
126
|
-
mainWindow.
|
|
126
|
+
mainWindow.setIconFromMemory(ASSET_ICON_PNG, ASSET_ICON_PNG_LEN);
|
|
127
127
|
mainWindow.tray().setIconFromMemory(ASSET_ICON_PNG, ASSET_ICON_PNG_LEN);
|
|
128
128
|
#endif
|
|
129
129
|
|
|
@@ -133,10 +133,10 @@ int main() {
|
|
|
133
133
|
|
|
134
134
|
// Apply additional settings
|
|
135
135
|
if (windowConfig.opacity < 1.0) {
|
|
136
|
-
mainWindow.
|
|
136
|
+
mainWindow.setOpacity(windowConfig.opacity);
|
|
137
137
|
}
|
|
138
138
|
if (windowConfig.fullscreen) {
|
|
139
|
-
mainWindow.
|
|
139
|
+
mainWindow.setFullscreen(true);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
// ========================================
|
|
@@ -145,7 +145,7 @@ int main() {
|
|
|
145
145
|
// HEADLESS / HIDDEN STARTUP
|
|
146
146
|
// ========================================
|
|
147
147
|
if (appConfig.headless || appConfig.hiddenOnStartup) {
|
|
148
|
-
mainWindow.
|
|
148
|
+
mainWindow.hide();
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
// ========================================
|