diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0362d6175..a3ff8a3ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,24 +15,6 @@ permissions: contents: write jobs: - # 打包插件 - package-plugins: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Package machine-id-tool plugin - run: | - cd plugins - zip -j machine-id-tool.zip machine-id-tool/plugin.json machine-id-tool/config.json - - - name: Upload plugin artifact - uses: actions/upload-artifact@v4 - with: - name: plugins - path: plugins/*.zip - build: strategy: fail-fast: false @@ -120,22 +102,3 @@ jobs: releaseDraft: false prerelease: false args: --target ${{ matrix.target }} - - # 上传插件到 Release - upload-plugins: - needs: [build, package-plugins] - runs-on: ubuntu-latest - steps: - - name: Download plugin artifacts - uses: actions/download-artifact@v4 - with: - name: plugins - path: plugins - - - name: Upload plugins to release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ github.event.inputs.version || github.ref_name }} - files: plugins/*.zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/plugins/machine-id-tool/config.json b/plugins/machine-id-tool/config.json deleted file mode 100644 index 56227b8a2..000000000 --- a/plugins/machine-id-tool/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "enabled": true, - "settings": {} -} diff --git a/plugins/machine-id-tool/plugin.json b/plugins/machine-id-tool/plugin.json deleted file mode 100644 index 129f2265e..000000000 --- a/plugins/machine-id-tool/plugin.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "machine-id-tool", - "version": "0.2.0", - "description": "Machine ID 管理工具 - 查看、修改和管理系统机器码,支持跨平台操作", - "author": "ProxyCast Team", - "homepage": "https://github.com/aiclientproxy/MachineIdTool", - "license": "MIT", - "plugin_type": "binary", - "entry": "machine-id-tool-cli", - "hooks": [], - "min_proxycast_version": "1.0.0", - "binary": { - "binary_name": "machine-id-tool-cli", - "github_owner": "aiclientproxy", - "github_repo": "MachineIdTool", - "platform_binaries": { - "macos-arm64": "machine-id-tool-aarch64-apple-darwin", - "macos-x64": "machine-id-tool-x86_64-apple-darwin", - "linux-x64": "machine-id-tool-x86_64-unknown-linux-gnu", - "linux-arm64": "machine-id-tool-aarch64-unknown-linux-gnu", - "windows-x64": "machine-id-tool-x86_64-pc-windows-msvc.exe" - }, - "checksum_file": "checksums.txt" - }, - "ui": { - "surfaces": ["tools"], - "icon": "Cpu", - "title": "机器码管理工具", - "default_width": 800, - "default_height": 600 - } -} diff --git a/src/components/plugins/PluginManager.tsx b/src/components/plugins/PluginManager.tsx index fb88799aa..fdf5f374c 100644 --- a/src/components/plugins/PluginManager.tsx +++ b/src/components/plugins/PluginManager.tsx @@ -106,9 +106,9 @@ const recommendedPlugins: RecommendedPlugin[] = [ name: "机器码管理工具", description: "查看、修改和管理系统机器码,支持跨平台操作", icon: Cpu, - // 插件包从 ProxyCast release 下载 + // 插件包从 MachineIdTool 仓库 release 下载 downloadUrl: - "https://github.com/aiclientproxy/proxycast/releases/latest/download/machine-id-tool.zip", + "https://github.com/aiclientproxy/MachineIdTool/releases/latest/download/machine-id-tool-plugin.zip", }, ]; diff --git a/src/components/tools/ToolsPage.tsx b/src/components/tools/ToolsPage.tsx index 7919c0461..035dbd97f 100644 --- a/src/components/tools/ToolsPage.tsx +++ b/src/components/tools/ToolsPage.tsx @@ -228,9 +228,9 @@ const recommendedPlugins: RecommendedPlugin[] = [ name: "机器码管理工具", description: "查看、修改和管理系统机器码,支持跨平台操作", icon: "Cpu", - // 插件包从 ProxyCast release 下载 + // 插件包从 MachineIdTool 仓库 release 下载 downloadUrl: - "https://github.com/aiclientproxy/proxycast/releases/latest/download/machine-id-tool.zip", + "https://github.com/aiclientproxy/MachineIdTool/releases/latest/download/machine-id-tool-plugin.zip", }, ];