@choochmeque/tauri-windows-bundle 0.1.11 → 0.1.12
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/README.md +50 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/exec.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -346,6 +346,56 @@ Use thumbprint from `tauri.conf.json`:
|
|
|
346
346
|
}
|
|
347
347
|
```
|
|
348
348
|
|
|
349
|
+
## GitHub Actions
|
|
350
|
+
|
|
351
|
+
Example workflow for automated MSIX builds.
|
|
352
|
+
|
|
353
|
+
> **Note:** Run `npx @choochmeque/tauri-windows-bundle@latest init` locally first to generate the required configuration files, then commit them to your repository.
|
|
354
|
+
|
|
355
|
+
```yaml
|
|
356
|
+
name: Build Windows MSIX
|
|
357
|
+
|
|
358
|
+
on:
|
|
359
|
+
push:
|
|
360
|
+
tags:
|
|
361
|
+
- 'v*'
|
|
362
|
+
workflow_dispatch:
|
|
363
|
+
|
|
364
|
+
jobs:
|
|
365
|
+
build:
|
|
366
|
+
runs-on: windows-latest
|
|
367
|
+
steps:
|
|
368
|
+
- uses: actions/checkout@v4
|
|
369
|
+
|
|
370
|
+
- name: Setup pnpm
|
|
371
|
+
uses: pnpm/action-setup@v4
|
|
372
|
+
|
|
373
|
+
- name: Setup Node.js
|
|
374
|
+
uses: actions/setup-node@v4
|
|
375
|
+
with:
|
|
376
|
+
node-version: '20'
|
|
377
|
+
cache: 'pnpm'
|
|
378
|
+
|
|
379
|
+
- name: Setup Rust
|
|
380
|
+
uses: dtolnay/rust-action@stable
|
|
381
|
+
with:
|
|
382
|
+
targets: x86_64-pc-windows-msvc, aarch64-pc-windows-msvc
|
|
383
|
+
|
|
384
|
+
- name: Install dependencies
|
|
385
|
+
run: pnpm install
|
|
386
|
+
|
|
387
|
+
- name: Build MSIX bundle
|
|
388
|
+
run: pnpm tauri:windows:build --arch x64,arm64 --runner pnpm
|
|
389
|
+
|
|
390
|
+
- name: Upload artifacts
|
|
391
|
+
uses: actions/upload-artifact@v4
|
|
392
|
+
with:
|
|
393
|
+
name: msix-bundle
|
|
394
|
+
path: src-tauri/target/msix/*.msixbundle
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
Output will be in `src-tauri/target/msix/YourApp.msixbundle`.
|
|
398
|
+
|
|
349
399
|
## License
|
|
350
400
|
|
|
351
401
|
[MIT](LICENSE)
|
package/dist/cli.js
CHANGED
|
@@ -783,7 +783,7 @@ function isVersionSufficient(version, minVersion) {
|
|
|
783
783
|
return false;
|
|
784
784
|
return patch >= minPatch;
|
|
785
785
|
}
|
|
786
|
-
const MIN_MSIXBUNDLE_CLI_VERSION = '1.0
|
|
786
|
+
const MIN_MSIXBUNDLE_CLI_VERSION = '1.1.0';
|
|
787
787
|
async function promptInstall(message) {
|
|
788
788
|
const rl = readline.createInterface({
|
|
789
789
|
input: process.stdin,
|
package/dist/index.js
CHANGED
|
@@ -780,7 +780,7 @@ function isVersionSufficient(version, minVersion) {
|
|
|
780
780
|
return false;
|
|
781
781
|
return patch >= minPatch;
|
|
782
782
|
}
|
|
783
|
-
const MIN_MSIXBUNDLE_CLI_VERSION = '1.0
|
|
783
|
+
const MIN_MSIXBUNDLE_CLI_VERSION = '1.1.0';
|
|
784
784
|
async function promptInstall(message) {
|
|
785
785
|
const rl = readline.createInterface({
|
|
786
786
|
input: process.stdin,
|
package/dist/utils/exec.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare function execAsync(command: string, options?: {
|
|
|
16
16
|
export declare function isMsixbundleCliInstalled(): Promise<boolean>;
|
|
17
17
|
export declare function getMsixbundleCliVersion(): Promise<string | null>;
|
|
18
18
|
export declare function isVersionSufficient(version: string, minVersion: string): boolean;
|
|
19
|
-
export declare const MIN_MSIXBUNDLE_CLI_VERSION = "1.0
|
|
19
|
+
export declare const MIN_MSIXBUNDLE_CLI_VERSION = "1.1.0";
|
|
20
20
|
export declare function promptInstall(message: string): Promise<boolean>;
|
|
21
21
|
export interface ExecWithProgressOptions {
|
|
22
22
|
cwd?: string;
|