@choochmeque/tauri-windows-bundle 0.1.1 → 0.1.2
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 +5 -2
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -682,14 +682,17 @@ async function build(options) {
|
|
|
682
682
|
const target = arch === 'x64' ? 'x86_64-pc-windows-msvc' : 'aarch64-pc-windows-msvc';
|
|
683
683
|
const releaseFlag = options.release ? '--release' : '';
|
|
684
684
|
// Build command based on runner
|
|
685
|
+
// --bundles none skips MSI/NSIS bundling since we're creating MSIX
|
|
685
686
|
let buildCommand;
|
|
686
687
|
if (runner === 'npm') {
|
|
687
688
|
// npm requires -- to pass args to the script
|
|
688
|
-
buildCommand =
|
|
689
|
+
buildCommand =
|
|
690
|
+
`npm run tauri build -- --target ${target} --bundles none ${releaseFlag}`.trim();
|
|
689
691
|
}
|
|
690
692
|
else {
|
|
691
693
|
// cargo, pnpm, yarn, bun, etc.
|
|
692
|
-
buildCommand =
|
|
694
|
+
buildCommand =
|
|
695
|
+
`${runner} tauri build --target ${target} --bundles none ${releaseFlag}`.trim();
|
|
693
696
|
}
|
|
694
697
|
try {
|
|
695
698
|
console.log(` Running: ${buildCommand}\n`);
|
package/dist/index.js
CHANGED
|
@@ -680,14 +680,17 @@ async function build(options) {
|
|
|
680
680
|
const target = arch === 'x64' ? 'x86_64-pc-windows-msvc' : 'aarch64-pc-windows-msvc';
|
|
681
681
|
const releaseFlag = options.release ? '--release' : '';
|
|
682
682
|
// Build command based on runner
|
|
683
|
+
// --bundles none skips MSI/NSIS bundling since we're creating MSIX
|
|
683
684
|
let buildCommand;
|
|
684
685
|
if (runner === 'npm') {
|
|
685
686
|
// npm requires -- to pass args to the script
|
|
686
|
-
buildCommand =
|
|
687
|
+
buildCommand =
|
|
688
|
+
`npm run tauri build -- --target ${target} --bundles none ${releaseFlag}`.trim();
|
|
687
689
|
}
|
|
688
690
|
else {
|
|
689
691
|
// cargo, pnpm, yarn, bun, etc.
|
|
690
|
-
buildCommand =
|
|
692
|
+
buildCommand =
|
|
693
|
+
`${runner} tauri build --target ${target} --bundles none ${releaseFlag}`.trim();
|
|
691
694
|
}
|
|
692
695
|
try {
|
|
693
696
|
console.log(` Running: ${buildCommand}\n`);
|