@choochmeque/tauri-windows-bundle 0.1.4 → 0.1.5
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/dist/cli.js +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -404,7 +404,10 @@ function generateExtensions(config) {
|
|
|
404
404
|
extensions.push(result.trimEnd());
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
if (extensions.length === 0) {
|
|
408
|
+
return '';
|
|
409
|
+
}
|
|
410
|
+
return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
|
|
408
411
|
}
|
|
409
412
|
function generateCapabilities(capabilities) {
|
|
410
413
|
return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
|
package/dist/index.js
CHANGED
|
@@ -402,7 +402,10 @@ function generateExtensions(config) {
|
|
|
402
402
|
extensions.push(result.trimEnd());
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
if (extensions.length === 0) {
|
|
406
|
+
return '';
|
|
407
|
+
}
|
|
408
|
+
return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
|
|
406
409
|
}
|
|
407
410
|
function generateCapabilities(capabilities) {
|
|
408
411
|
return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
|