Add publish scripts, Gitea Actions workflow, and pre-built binary downloads to README
Build AD Bulk Tool / build (ubuntu-latest, linux-x64, ) (push) Failing after 7m11s
Build AD Bulk Tool / build (ubuntu-latest, win-x64, .exe) (push) Failing after 3m13s
Build AD Bulk Tool / build (macos-latest, osx-arm64, ) (push) Canceled after 0s
Build AD Bulk Tool / build (macos-latest, osx-x64, ) (push) Canceled after 0s
Build AD Bulk Tool / build (ubuntu-latest, linux-x64, ) (push) Failing after 7m11s
Build AD Bulk Tool / build (ubuntu-latest, win-x64, .exe) (push) Failing after 3m13s
Build AD Bulk Tool / build (macos-latest, osx-arm64, ) (push) Canceled after 0s
Build AD Bulk Tool / build (macos-latest, osx-x64, ) (push) Canceled after 0s
This commit is contained in:
@@ -11,42 +11,34 @@ Cross-platform Avalonia UI app for bulk Active Directory operations from a CSV f
|
||||
- Actions: enable, disable, add/remove from group, set/force password change
|
||||
- LDAP 389 for normal edits; LDAPS 636 required for password resets
|
||||
|
||||
## Prerequisites
|
||||
## Download
|
||||
|
||||
Pre-built binaries for each platform (no .NET SDK required):
|
||||
|
||||
| Platform | File |
|
||||
|----------|------|
|
||||
| Windows x64 | `ADBulkTool-win-x64.exe` |
|
||||
| Linux x64 | `ADBulkTool-linux-x64` |
|
||||
| macOS x64 | `ADBulkTool-macos-x64` |
|
||||
| macOS ARM | `ADBulkTool-macos-arm64` |
|
||||
|
||||
Grab the latest from [Releases](https://gitea.mikisoq.cc/mikisoq/ADBulk/releases/latest).
|
||||
|
||||
## Build from source
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
|
||||
|
||||
### Windows
|
||||
| Platform | Install |
|
||||
|----------|---------|
|
||||
| Windows | `winget install Microsoft.DotNet.SDK.8` |
|
||||
| Arch-based | `sudo pacman -S dotnet-sdk-8.0` |
|
||||
| Ubuntu / Debian | Register Microsoft repo then `sudo apt install dotnet-sdk-8.0` |
|
||||
| Fedora / RHEL | `sudo dnf install dotnet-sdk-8.0` |
|
||||
| macOS | `brew install dotnet-sdk-8.0` |
|
||||
|
||||
```powershell
|
||||
winget install Microsoft.DotNet.SDK.8
|
||||
```
|
||||
|
||||
### Linux (Arch-based)
|
||||
|
||||
```bash
|
||||
sudo pacman -S dotnet-sdk-8.0
|
||||
```
|
||||
|
||||
### Linux (Ubuntu / Debian)
|
||||
|
||||
```bash
|
||||
# Register Microsoft repository, then:
|
||||
sudo apt install dotnet-sdk-8.0
|
||||
```
|
||||
|
||||
### Linux (Fedora / RHEL)
|
||||
|
||||
```bash
|
||||
sudo dnf install dotnet-sdk-8.0
|
||||
```
|
||||
|
||||
### macOS
|
||||
|
||||
```bash
|
||||
brew install dotnet-sdk-8.0
|
||||
```
|
||||
|
||||
## Install & Run
|
||||
### Run directly
|
||||
|
||||
```bash
|
||||
git clone https://gitea.mikisoq.cc/mikisoq/ADBulk.git
|
||||
@@ -56,7 +48,20 @@ dotnet build
|
||||
dotnet run
|
||||
```
|
||||
|
||||
On Windows, you can also open the folder in Visual Studio and run from there.
|
||||
### Build standalone executables
|
||||
|
||||
```bash
|
||||
# All platforms at once (Linux/macOS)
|
||||
./scripts/publish-all.sh
|
||||
|
||||
# All platforms at once (Windows PowerShell)
|
||||
.\scripts\publish-all.ps1
|
||||
|
||||
# Single platform
|
||||
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true
|
||||
```
|
||||
|
||||
Output goes to `publish/` — a single .exe/binary per platform, no runtime needed.
|
||||
|
||||
## Quick start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user