diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5c8a99..b4bc21c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,8 @@ name: Release # MACOS_CERTIFICATE_P12 base64 of a "Developer ID Application" certificate exported as .p12 # MACOS_CERTIFICATE_PASSWORD password of that .p12 # APPLE_ID, APPLE_TEAM_ID, APPLE_APP_PASSWORD notarization (app-specific password) -# HOMEBREW_TAP_TOKEN token with contents write access to manhpham90vn/homebrew-tap; stable -# releases then update the procyon cask (`brew install manhpham90vn/tap/procyon`) +# HOMEBREW_TAP_TOKEN token with contents write access to Bitfaring/homebrew-tap; stable +# releases then update the procyon cask (`brew install bitfaring/tap/procyon`) on: push: diff --git a/README.md b/README.md index 10264eb..42162b3 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ Procyon is light on resources: sampling uses about 0.5% of one core. ### Windows -1. Download the latest `Procyon-x.y.z-windows-x64.zip` from the [Releases page](https://github.com/manhpham90vn/Procyon/releases/latest). +1. Download the latest `Procyon-x.y.z-windows-x64.zip` from the [Releases page](https://github.com/Bitfaring/Procyon/releases/latest). 2. Unzip it anywhere and run `Procyon.exe`. There is no installer and nothing to register; settings live in `HKEY_CURRENT_USER\Software\Procyon`. 3. To check the download, compare it with the `.sha256` file from the same release: @@ -122,7 +122,7 @@ Control, where it is on, refuses unsigned apps altogether. ### Linux On Debian, Ubuntu and their derivatives, download the latest `procyon_x.y.z_amd64.deb` from the -[Releases page](https://github.com/manhpham90vn/Procyon/releases/latest) and install it; apt pulls in GTK 4: +[Releases page](https://github.com/Bitfaring/Procyon/releases/latest) and install it; apt pulls in GTK 4: ```sh sudo apt install ./procyon_x.y.z_amd64.deb @@ -130,7 +130,7 @@ sudo apt install ./procyon_x.y.z_amd64.deb On other distributions: -1. Download the latest `Procyon-x.y.z-linux-x86_64.tar.gz` from the [Releases page](https://github.com/manhpham90vn/Procyon/releases/latest). +1. Download the latest `Procyon-x.y.z-linux-x86_64.tar.gz` from the [Releases page](https://github.com/Bitfaring/Procyon/releases/latest). 2. Unpack it into `~/.local` (or `/usr/local` with `sudo`): the binary goes to `bin`, the desktop entry, icon and licenses to `share`, and Procyon appears in your app grid. @@ -144,14 +144,14 @@ Settings live in `~/.config/procyon/settings.ini`, the history in `~/.local/shar ### Homebrew ```sh -brew install --cask manhpham90vn/tap/procyon +brew install --cask bitfaring/tap/procyon ``` Update with `brew upgrade --cask procyon`. ### Download -1. Download the latest `Procyon-x.y.z.dmg` from the [Releases page](https://github.com/manhpham90vn/Procyon/releases/latest). +1. Download the latest `Procyon-x.y.z.dmg` from the [Releases page](https://github.com/Bitfaring/Procyon/releases/latest). 2. Open the DMG and drag **Procyon** into **Applications**. 3. Open Procyon from Applications or Spotlight. @@ -276,7 +276,7 @@ and `share/licenses/procyon` from where you unpacked it. Optionally delete `~/.c You need Xcode 27 on macOS 14 or later. ```sh -git clone https://github.com/manhpham90vn/Procyon.git +git clone https://github.com/Bitfaring/Procyon.git cd Procyon make run # build dist/Procyon.app and open it make test # run the unit tests @@ -292,7 +292,7 @@ You need Visual Studio 2022 with the **Desktop development with C++** workload a (`winget install ezwinports.make`). The same `make` targets work as on macOS, from cmd, PowerShell or Git Bash: ```bat -git clone https://github.com/manhpham90vn/Procyon.git +git clone https://github.com/Bitfaring/Procyon.git cd Procyon make tools rem once: fetches CMake, Ninja and clang-format into build\tools (skip if Visual Studio's CMake component is installed) make run rem build dist\windows\Procyon.exe and open it @@ -310,7 +310,7 @@ and Arch): ```sh sudo apt install build-essential cmake ninja-build pkg-config libgtk-4-dev pipx install clang-format==19.1.0 # for make lint/format: 19 or later (Ubuntu 24.04's apt package is 18) -git clone https://github.com/manhpham90vn/Procyon.git +git clone https://github.com/Bitfaring/Procyon.git cd Procyon make run # build dist/linux/procyon and open it make test # core tests @@ -321,7 +321,7 @@ make help # all targets ## Contributing Bug reports, ideas and pull requests are welcome on -[GitHub Issues](https://github.com/manhpham90vn/Procyon/issues). Before opening a pull request, run +[GitHub Issues](https://github.com/Bitfaring/Procyon/issues). Before opening a pull request, run `make format` and `make ci`, which runs the same checks as CI. The repo layout, CI and release process, how the privileged helper works, and feature status against the diff --git a/apps/linux/data/dev.procyon.Procyon.metainfo.xml b/apps/linux/data/dev.procyon.Procyon.metainfo.xml index 55e7ea8..659d2e6 100644 --- a/apps/linux/data/dev.procyon.Procyon.metainfo.xml +++ b/apps/linux/data/dev.procyon.Procyon.metainfo.xml @@ -11,6 +11,6 @@ 24 hours of history, alerts, and the files and ports each app holds.

dev.procyon.Procyon.desktop - https://github.com/manhpham90vn/Procyon + https://github.com/Bitfaring/Procyon diff --git a/apps/macos/Sources/ProcyonApp/Screens/SystemView.swift b/apps/macos/Sources/ProcyonApp/Screens/SystemView.swift index 927563d..4d0e630 100644 --- a/apps/macos/Sources/ProcyonApp/Screens/SystemView.swift +++ b/apps/macos/Sources/ProcyonApp/Screens/SystemView.swift @@ -162,7 +162,7 @@ private struct AboutSection: View { .textSelection(.enabled) } LabeledContent("Source code") { - Link("github.com/manhpham90vn/Procyon", destination: AppInfo.repository) + Link("github.com/Bitfaring/Procyon", destination: AppInfo.repository) } LabeledContent("Releases") { Link("Latest release", destination: AppInfo.latestRelease) diff --git a/apps/macos/Sources/ProcyonApp/Support/AppInfo.swift b/apps/macos/Sources/ProcyonApp/Support/AppInfo.swift index e41822b..1174e5a 100644 --- a/apps/macos/Sources/ProcyonApp/Support/AppInfo.swift +++ b/apps/macos/Sources/ProcyonApp/Support/AppInfo.swift @@ -4,7 +4,7 @@ import Foundation /// `scripts/build-macos-app.sh` writes the version (from the `VERSION` file), the build number and the git /// commit into Info.plist; a bare `swift run` has no bundle and reports itself as a development build. enum AppInfo { - static let repository = URL(string: "https://github.com/manhpham90vn/Procyon")! + static let repository = URL(string: "https://github.com/Bitfaring/Procyon")! static let releases = repository.appending(path: "releases") static let latestRelease = releases.appending(path: "latest") static let issues = repository.appending(path: "issues") diff --git a/apps/ui/src/page_system.cpp b/apps/ui/src/page_system.cpp index 040a85a..fe07f04 100644 --- a/apps/ui/src/page_system.cpp +++ b/apps/ui/src/page_system.cpp @@ -9,9 +9,9 @@ namespace procyon::ui { namespace { -const wchar_t *const kRepository = L"https://github.com/manhpham90vn/Procyon"; -const wchar_t *const kLatestRelease = L"https://github.com/manhpham90vn/Procyon/releases/latest"; -const wchar_t *const kIssues = L"https://github.com/manhpham90vn/Procyon/issues"; +const wchar_t *const kRepository = L"https://github.com/Bitfaring/Procyon"; +const wchar_t *const kLatestRelease = L"https://github.com/Bitfaring/Procyon/releases/latest"; +const wchar_t *const kIssues = L"https://github.com/Bitfaring/Procyon/issues"; class SystemPage : public Page { public: @@ -419,7 +419,7 @@ class SettingsPage : public Page { r.text(version, row, v, theme.text_secondary()); row = inner.take_top(kRow); label(row, L"Source code"); - link(row, L"github.com/manhpham90vn/Procyon", kRepository); + link(row, L"github.com/Bitfaring/Procyon", kRepository); row = inner.take_top(kRow); label(row, L"Releases"); link(row, L"Latest release", kLatestRelease); diff --git a/docs/development.md b/docs/development.md index 651c4b9..361af8f 100644 --- a/docs/development.md +++ b/docs/development.md @@ -208,7 +208,7 @@ Tools: Xcode 27 provides `swift format`; `brew install clang-format llvm shellch SHA-256, GitHub release (versions with `-` are marked prerelease). With the secrets `MACOS_CERTIFICATE_P12`, `MACOS_CERTIFICATE_PASSWORD`, `APPLE_ID`, `APPLE_TEAM_ID` and `APPLE_APP_PASSWORD`, it signs with Developer ID and notarizes; without them the build is ad-hoc signed. With `HOMEBREW_TAP_TOKEN` (contents write access to - [manhpham90vn/homebrew-tap](https://github.com/manhpham90vn/homebrew-tap)), stable releases also update the `procyon` + [Bitfaring/homebrew-tap](https://github.com/Bitfaring/homebrew-tap)), stable releases also update the `procyon` cask there through `scripts/publish-homebrew.sh`, rendered from `packaging/homebrew/procyon.rb`. A second job then builds `Procyon-x.y.z-windows-x64.zip` (unsigned; Authenticode signing and winget are open) with its SHA-256 and attaches both to the same release; a third, on `ubuntu-24.04`, builds diff --git a/manhdev.json b/manhdev.json index dbda761..236176e 100644 --- a/manhdev.json +++ b/manhdev.json @@ -35,7 +35,7 @@ { "platform": "linux", "label": "Linux", "sub": "Other distros · .tar.gz", "asset": "^Procyon-[\\d.]+-linux-x86_64\\.tar\\.gz$", "file": "Procyon-{version}-linux-x86_64.tar.gz" } ], "packageManagers": [ - { "platform": "macos", "label": "macOS · Homebrew", "command": "brew install --cask manhpham90vn/tap/procyon" } + { "platform": "macos", "label": "macOS · Homebrew", "command": "brew install --cask bitfaring/tap/procyon" } ], "version": "v1.0.2" } diff --git a/packaging/homebrew/procyon.rb b/packaging/homebrew/procyon.rb index 5dbba13..c575d09 100644 --- a/packaging/homebrew/procyon.rb +++ b/packaging/homebrew/procyon.rb @@ -2,10 +2,10 @@ version "@VERSION@" sha256 "@SHA256@" - url "https://github.com/manhpham90vn/Procyon/releases/download/v#{version}/Procyon-#{version}.dmg" + url "https://github.com/Bitfaring/Procyon/releases/download/v#{version}/Procyon-#{version}.dmg" name "Procyon" desc "Lightweight task manager" - homepage "https://github.com/manhpham90vn/Procyon" + homepage "https://github.com/Bitfaring/Procyon" livecheck do url :url diff --git a/scripts/package-linux.sh b/scripts/package-linux.sh index 101fd86..b0d96ab 100755 --- a/scripts/package-linux.sh +++ b/scripts/package-linux.sh @@ -47,7 +47,7 @@ Depends: $depends Recommends: systemd Section: utils Priority: optional -Homepage: https://github.com/manhpham90vn/Procyon +Homepage: https://github.com/Bitfaring/Procyon Description: Lightweight task manager See what is using your CPU, memory, disk, network and GPU, find out what a process is, and stop the ones you don't need. diff --git a/scripts/publish-homebrew.sh b/scripts/publish-homebrew.sh index 945811f..5966563 100755 --- a/scripts/publish-homebrew.sh +++ b/scripts/publish-homebrew.sh @@ -8,7 +8,7 @@ cd "$(dirname "$0")/.." VERSION=${1:?usage: publish-homebrew.sh VERSION (without the v prefix)} VERSION=${VERSION#v} -TAP_REPO=${TAP_REPO:-manhpham90vn/homebrew-tap} +TAP_REPO=${TAP_REPO:-Bitfaring/homebrew-tap} TAP_BRANCH=${TAP_BRANCH:-main} : "${HOMEBREW_TAP_TOKEN:?publish-homebrew.sh: HOMEBREW_TAP_TOKEN must hold a token with contents write access to $TAP_REPO.}" @@ -18,7 +18,7 @@ trap 'rm -rf "$WORK"' EXIT DMG="dist/Procyon-$VERSION.dmg" if [ ! -f "$DMG" ]; then - gh release download "v$VERSION" --repo manhpham90vn/Procyon --pattern "Procyon-$VERSION.dmg" --dir "$WORK" + gh release download "v$VERSION" --repo Bitfaring/Procyon --pattern "Procyon-$VERSION.dmg" --dir "$WORK" DMG="$WORK/Procyon-$VERSION.dmg" fi SHA256=$(shasum -a 256 "$DMG" | cut -d' ' -f1)