diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 836c783..9f9a949 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -23,7 +23,7 @@ on: jobs: macos: - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v4 diff --git a/build_dmg.sh b/build_dmg.sh index 7a47985..ab30217 100755 --- a/build_dmg.sh +++ b/build_dmg.sh @@ -34,7 +34,7 @@ cp $OPENCV_DIR/lib/libopencv_imgproc.4.0.dylib ./YUVviewer.app/Contents/Framewor cp $OPENCV_DIR/lib/libopencv_imgcodecs.4.0.dylib ./YUVviewer.app/Contents/Frameworks/libopencv_imgcodecs.4.0.dylib cp $OPENCV_DIR/lib/libopencv_core.4.0.dylib ./YUVviewer.app/Contents/Frameworks/libopencv_core.4.0.dylib otool -L ./YUVviewer.app/Contents/MacOS/YUVviewer -./build-dmg.sh YUVviewer +sudo ./build-dmg.sh YUVviewer cd ../../ mkdir dmgOut cpu=$(sysctl -n machdep.cpu.brand_string)