Skip to content

Commit

Permalink
🐞 fix: Fix Copy-Item
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Aug 25, 2024
1 parent a526444 commit 91e421e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- .github/**
- '!.github/workflows/macos_build.yml'
- "!.github/workflows/macos_build.yml"
- "**.md"
- "docs/**"
push:
branches:
- main
paths-ignore:
- .github/**
- "!.github/workflows/macos_build.yml"
- "**.md"
- "docs/**"

Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- .github/**
- '!.github/workflows/windows_build.yml'
- "!.github/workflows/windows_build.yml"
- "**.md"
- "docs/**"
push:
branches:
- main
paths-ignore:
- .github/**
- "!.github/workflows/windows_build.yml"
- "**.md"
- "docs/**"

Expand Down Expand Up @@ -79,10 +81,10 @@ jobs:
- name: Copy DLLs
run: |
cd ..
copy /y MediaInfoLib\Project\MSVC2022\x64\Release\MediaInfo.dll BetterMediaInfo\src-tauri\
copy /y ${{ env.SystemRoot }}\System32\msvp140.dll BetterMediaInfo\src-tauri\
copy /y ${{ env.SystemRoot }}\System32\vcruntime140.dll BetterMediaInfo\src-tauri\
copy /y ${{ env.SystemRoot }}\System32\vcruntime140_1.dll BetterMediaInfo\src-tauri\
Copy-Item "MediaInfoLib\Project\MSVC2022\x64\Release\MediaInfo.dll" -Destination "BetterMediaInfo\src-tauri\"
Copy-Item "${{ env.SystemRoot }}\System32\msvp140.dll" -Destination "BetterMediaInfo\src-tauri\"
Copy-Item "${{ env.SystemRoot }}\System32\vcruntime140.dll" -Destination "BetterMediaInfo\src-tauri\"
Copy-Item "${{ env.SystemRoot }}\System32\vcruntime140_1.dll" -Destination "BetterMediaInfo\src-tauri\"
- name: Patch tauri.conf.json
run: |
Expand Down

0 comments on commit 91e421e

Please sign in to comment.