mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-06-03 01:42:52 +08:00
feat: Windows 下隐藏 openlist 和 rclone 的命令行窗口
在 spawn_sidecar 函数中添加 CREATE_NO_WINDOW 标志, 使后台运行的二进制文件在 Windows 上不显示命令行窗口
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -1,5 +1,7 @@
|
||||
name: "CI/CD"
|
||||
|
||||
# 发布Release(创建tag):git tag -a v1.0.0 && git push origin v1.0.0
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
@@ -222,6 +224,10 @@ jobs:
|
||||
target: 'x86_64-pc-windows-msvc'
|
||||
args: ''
|
||||
arch: 'x86_64'
|
||||
- platform: 'windows-latest'
|
||||
target: 'aarch64-pc-windows-msvc'
|
||||
args: '--target aarch64-pc-windows-msvc'
|
||||
arch: 'aarch64'
|
||||
runs-on: ${{ matrix.platform }}
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
@@ -237,7 +243,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
||||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || matrix.target == 'aarch64-pc-windows-msvc' && 'aarch64-pc-windows-msvc' || '' }}
|
||||
|
||||
# Rust 缓存 - 按目标平台分离缓存
|
||||
- name: Cache Rust dependencies
|
||||
|
||||
Reference in New Issue
Block a user