diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28bd05a..45f237f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,35 +1,51 @@ name: Continuous Integration -on: [push, pull_request] + +on: + push: + branches: + - "master" + + pull_request: + branches: + - "master" + jobs: build: + strategy: + matrix: + os: [windows, macos] + build-type: [Release, Debug] + name: ${{matrix.os}}/${{matrix.build-type}} runs-on: ${{matrix.os}}-latest + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Make build directory run: cmake -E make_directory build + - name: Configure working-directory: build run: | cmake ../Sources \ -DCMAKE_BUILD_TYPE=${{matrix.build-type}} shell: bash + - name: Compile working-directory: build run: cmake --build . --config ${{matrix.build-type}} + - name: Upload binary (Mac) if: matrix.os == 'macos' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: cpu-${{matrix.build-type}} path: build/cpu + - name: Upload binary (Windows) if: matrix.os == 'windows' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: cpu-${{matrix.build-type}}.exe path: build/${{matrix.build-type}}/cpu.exe - strategy: - matrix: - os: [windows, macos] - build-type: [Release, Debug] diff --git a/README.md b/README.md index dc8055f..3d102cc 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,11 @@ +
-`CPU` is a sample plugin demonstrating the [Stream Deck SDK](https://developer.elgato.com/documentation/stream-deck/). +[![](screenshot.png)](https://marketplace.elgato.com/product/cpu-58f3a1f4-dd4d-43bb-9b79-ec95700568a4) +# CPU Stream Deck Plugin -# Description +[![](marketplace-badge.png)](https://marketplace.elgato.com/product/cpu-58f3a1f4-dd4d-43bb-9b79-ec95700568a4) -`CPU` is a plugin that displays the CPU usage on a key. +
- -# Features - -- code written in C++ -- cross-platform (macOS, Windows) -- localized - - -![](screenshot.png) - - -# Installation - -In the Release folder, you can find the file `com.elgato.cpu.streamDeckPlugin`. If you double-click this file on your machine, Stream Deck will install the plugin. - - -# Source code - -The Sources folder contains the source code of the plugin. +Monitor your processor in real time, direct from Stream Deck. With a single key, track CPU utilization across your system. No more surprise lag while streaming, gaming, or designing. Instead, detect usage spikes as they occur and manage your hardware on the fly. diff --git a/Sources/com.elgato.cpu.sdPlugin/manifest.json b/Sources/com.elgato.cpu.sdPlugin/manifest.json index 27193aa..d020888 100644 --- a/Sources/com.elgato.cpu.sdPlugin/manifest.json +++ b/Sources/com.elgato.cpu.sdPlugin/manifest.json @@ -23,7 +23,7 @@ "Name": "CPU", "Icon": "pluginIcon", "URL": "https://www.elgato.com/gaming/stream-deck", - "Version": "1.4", + "Version": "1.4.1.0", "OS": [ { "Platform": "mac", diff --git a/marketplace-badge.png b/marketplace-badge.png new file mode 100644 index 0000000..1850652 Binary files /dev/null and b/marketplace-badge.png differ diff --git a/screenshot.png b/screenshot.png index 66659cc..1ecaa31 100644 Binary files a/screenshot.png and b/screenshot.png differ