Skip to content

Commit 874b044

Browse files
authored
Merge pull request #671 from apoint123/feat/improve-media-control-integration
✨ feat: 改进 Windows 下的媒体控件集成
2 parents 2539e72 + baded13 commit 874b044

38 files changed

+4523
-172
lines changed

.github/workflows/dev.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
with:
5454
node-version: ${{ env.NODE_VERSION }}
5555
cache: "pnpm"
56+
- name: Setup Rust toolchain
57+
uses: dtolnay/rust-toolchain@stable
58+
with:
59+
toolchain: stable
5660
# 清理旧的构建产物
5761
- name: Clean workspace on Windows
5862
if: runner.os == 'Windows'
@@ -137,19 +141,28 @@ jobs:
137141
name: Upload Artifacts - Windows Setup arm64,
138142
if: runner.os == 'Windows',
139143
uses: actions/upload-artifact@v4,
140-
with: { name: SPlayer-Windows-setup-arm64, path: dist/*-arm64-setup.exe },
144+
with:
145+
{ name: SPlayer-Windows-setup-arm64, path: dist/*-arm64-setup.exe },
141146
}
142147
- {
143148
name: Upload Artifacts - Windows Portable x64,
144149
if: runner.os == 'Windows',
145150
uses: actions/upload-artifact@v4,
146-
with: { name: SPlayer-Windows-portable-x64, path: dist/*-x64-portable.exe },
151+
with:
152+
{
153+
name: SPlayer-Windows-portable-x64,
154+
path: dist/*-x64-portable.exe,
155+
},
147156
}
148157
- {
149158
name: Upload Artifacts - Windows Portable arm64,
150159
if: runner.os == 'Windows',
151160
uses: actions/upload-artifact@v4,
152-
with: { name: SPlayer-Windows-portable-arm64, path: dist/*-arm64-portable.exe },
161+
with:
162+
{
163+
name: SPlayer-Windows-portable-arm64,
164+
path: dist/*-arm64-portable.exe,
165+
},
153166
}
154167
- {
155168
name: Upload Artifacts - macOS DMG x64,
@@ -179,13 +192,15 @@ jobs:
179192
name: Upload Artifacts - Linux AppImage x64,
180193
if: runner.os == 'Linux',
181194
uses: actions/upload-artifact@v4,
182-
with: { name: SPlayer-Linux-appimage-x64, path: dist/*-x86_64.AppImage },
195+
with:
196+
{ name: SPlayer-Linux-appimage-x64, path: dist/*-x86_64.AppImage },
183197
}
184198
- {
185199
name: Upload Artifacts - Linux AppImage arm64,
186200
if: runner.os == 'Linux',
187201
uses: actions/upload-artifact@v4,
188-
with: { name: SPlayer-Linux-appimage-arm64, path: dist/*-arm64.AppImage },
202+
with:
203+
{ name: SPlayer-Linux-appimage-arm64, path: dist/*-arm64.AppImage },
189204
}
190205
- {
191206
name: Upload Artifacts - Linux Pacman x64,
@@ -197,7 +212,8 @@ jobs:
197212
name: Upload Artifacts - Linux Pacman arm64,
198213
if: runner.os == 'Linux',
199214
uses: actions/upload-artifact@v4,
200-
with: { name: SPlayer-Linux-pacman-arm64, path: dist/*-aarch64.pacman },
215+
with:
216+
{ name: SPlayer-Linux-pacman-arm64, path: dist/*-aarch64.pacman },
201217
}
202218
- {
203219
name: Upload Artifacts - Linux DEB x64,

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
with:
4141
node-version: ${{ env.NODE_VERSION }}
4242
cache: "pnpm"
43+
- name: Setup Rust toolchain
44+
uses: dtolnay/rust-toolchain@stable
45+
with:
46+
toolchain: stable
4347
# 清理旧的构建产物
4448
- name: Clean workspace on Windows
4549
if: runner.os == 'Windows'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ coverage
1515
*.local
1616
out
1717
.env
18+
target
19+
*.node
1820

1921
# Editor directories and files
2022
.vscode/*

0 commit comments

Comments
 (0)