From e1b1933a64cb080c763546a2fbcaff5b6d16d66b Mon Sep 17 00:00:00 2001 From: Akatsuki Rui <3736910+akiirui@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:43:19 +0800 Subject: [PATCH] ci: don't build for macOS --- .github/workflows/build.yml | 14 ------------- README.md | 13 ------------ README.zh-Hans.md | 13 ------------ README.zh-Hant.md | 13 ------------ share/macos/Info.plist | 40 ------------------------------------- 5 files changed, 93 deletions(-) delete mode 100644 share/macos/Info.plist diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9edb405..bfdd794 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,11 +29,6 @@ jobs: asset_name_debug: windows-amd64-debug target: x86_64-pc-windows-msvc - - os: macos-latest - artifact_name: mpv-handler - asset_name: macos-amd64 - target: x86_64-apple-darwin - steps: - name: Checkout uses: actions/checkout@v4 @@ -94,15 +89,6 @@ jobs: windows-amd64/mpv-handler.exe \ windows-amd64-debug/mpv-handler-debug.exe - - name: Package macOS - run: | - mkdir -p macos-amd64/mpv-handler.app/Contents/MacOS - cp README*.md macos-amd64 - cp share/macos/Info.plist macos-amd64/mpv-handler.app/Contents - mv macos-amd64/mpv-handler macos-amd64/mpv-handler.app/Contents/MacOS - cd macos-amd64 - zip -r ../mpv-handler-macos-amd64.zip . - - name: SHA512SUM run: | sha512sum mpv-handler-*.zip > sha512sum diff --git a/README.md b/README.md index 27bcace..d182665 100644 --- a/README.md +++ b/README.md @@ -94,19 +94,6 @@ Windows users need to install manually. 4. Add **mpv** and **yt-dlp** to environment variable `PATH` (if needed) 5. Edit `config.toml` (if needed) -### macOS (Alpha) - -**I haven't tested it, if it doesn't work, please open an issue.** - -macOS users need to install manually - -#### Manual installation - -1. Download [latest macOS release][download-macos] -2. Unzip the archive and copy `mpv-handler.app` directory to `$HOME/Applications` -3. Add **mpv** and **yt-dlp** to environment variable `PATH` (if needed) -4. Create `$HOME/Library/Application Support/mpv-handler/config.toml` and edit it (if needed) - ## Configuration If you have already added **mpv** and **yt-dlp** to `PATH`, manual configuration is usually not required. diff --git a/README.zh-Hans.md b/README.zh-Hans.md index e7ee048..9c27254 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -94,19 +94,6 @@ Windows 用户目前只能手动安装。 4. 如果需要,添加 **mpv** 和 **yt-dlp** 到环境变量 `PATH` 5. 如果需要,更改 `config.toml` -### macOS (Alpha) - -**我没有测试过它,如果它不工作,请通过 issue 反馈。** - -macOS 用户目前只能手动安装。 - -#### 手动安装 - -1. 下载 [最新的 macOS 压缩包][download-macos] -2. 解压缩档案并复制 `mpv-handler.app` 文件夹到 `$HOME/Applications` -3. 如果需要,添加 **mpv** 和 **yt-dlp** 到环境变量 `PATH` -4. 如果需要,创建 `$HOME/Library/Application Support/mpv-handler/config.toml` 并按需更改 - ## 配置 如果您已经把 **mpv** 和 **yt-dlp** 添加到了 `PATH`,通常来说不需要手动配置。 diff --git a/README.zh-Hant.md b/README.zh-Hant.md index 5a1f5c0..e96f34f 100644 --- a/README.zh-Hant.md +++ b/README.zh-Hant.md @@ -94,19 +94,6 @@ Windows 用戶目前只能手動安裝。 4. 如果需要,添加 **mpv** 和 **yt-dlp** 到環境變量 `PATH` 5. 如果需要,更改 `config.toml` -### macOS (Alpha) - -**我沒有測試過它,如果它不工作,請通過 issue 反饋。** - -macOS 用戶目前只能手動安裝。 - -#### 手動安裝 - -1. 下載 [最新的 macOS 壓縮包][download-macos] -2. 解壓縮檔案並複製 `mpv-handler.app` 文件夾到 `$HOME/Applications` -3. 如果需要,添加 **mpv** 和 **yt-dlp** 到環境變量 `PATH` -4. 如果需要,創建 `$HOME/Library/Application Support/mpv-handler/config.toml` 並按需更改 - ## 配置 如果您已經把 **mpv** 和 **yt-dlp** 添加到了 `PATH`,通常來說不需要手動配置。 diff --git a/share/macos/Info.plist b/share/macos/Info.plist deleted file mode 100644 index cbe4516..0000000 --- a/share/macos/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleName - mpv-handler - CFBundleDisplayName - mpv-handler - CFBundleIdentifier - work.akii.mpv-handler - CFBundleExecutable - mpv-handler - CFBundleSignature - ooim - - LSMinimumSystemVersion - 10.8 - - CFBundleVersion - 2.0.1 - CFBundleShortVersionString - 2.0.1 - CFBundlePackageType - APPL - - CFBundleURLTypes - - - CFBundleURLName - mpv-handler - CFBundleTypeRole - Viewer - CFBundleURLSchemes - - mpv - - - - -