Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ jobs:
if token:
headers["Authorization"] = f"Bearer {token}"
req = urllib.request.Request(
"https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest",
"https://api.github.com/repos/CometWorks/magnetar/releases/latest",
headers=headers,
)
with urllib.request.urlopen(req) as response:
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
run: |
$ErrorActionPreference = 'Stop'

$release = gh api repos/viktor-ferenczi/Magnetar/releases/latest | ConvertFrom-Json
$release = gh api repos/CometWorks/magnetar/releases/latest | ConvertFrom-Json
if ($release.draft -or $release.prerelease) {
throw "latest Magnetar release is not a full release"
}
Expand Down Expand Up @@ -494,7 +494,7 @@ jobs:
| **Linux** (x64) | **`quasar-installer-linux.tar.gz`** |
| **Windows** (x64) | **`quasar-installer-windows.zip`** |

Download the archive with **installer** in its name. It contains one top-level folder with the Quasar **Bootstrap launcher**, the install/uninstall scripts, and a default `appsettings.json`. Follow the [Linux](https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/LinuxDeploymentAndUpdates.md) or [Windows](https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md) deployment guide to install it. The web UI is available on http://127.0.0.1:8080 by default (the web server listens on all interfaces at 0.0.0.0:8080).
Download the archive with **installer** in its name. It contains one top-level folder with the Quasar **Bootstrap launcher**, the install/uninstall scripts, and a default `appsettings.json`. Follow the [Linux](https://github.com/CometWorks/quasar/blob/main/Docs/LinuxDeploymentAndUpdates.md) or [Windows](https://github.com/CometWorks/quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md) deployment guide to install it. The web UI is available on http://127.0.0.1:8080 by default (the web server listens on all interfaces at 0.0.0.0:8080).

The other two archives (`quasar-web-linux-x64.tar.gz` and `quasar-web-win-x64.zip`) are updates that Quasar downloads and applies automatically — you never download them by hand.

Expand Down
4 changes: 2 additions & 2 deletions Docs/LinuxDeploymentAndUpdates.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ both read that data-directory file on startup.
```json
{
"Enabled": true,
"Owner": "viktor-ferenczi",
"Repository": "Quasar",
"Owner": "CometWorks",
"Repository": "quasar",
"IncludePrerelease": false,
"AutoStageWebUpdates": true,
"CheckIntervalSeconds": 900,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Namespace: `Quasar.Services`
| Property | Default / env var override |
|----------|---------------------------|
| `MagnetarArchiveUrl` | Empty by default; direct URL override via `QUASAR_MAGNETAR_ARCHIVE_URL` |
| `MagnetarReleaseApiUrl` | `https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest`; `QUASAR_MAGNETAR_RELEASE_API_URL` |
| `MagnetarReleaseApiUrl` | `https://api.github.com/repos/CometWorks/magnetar/releases/latest`; `QUASAR_MAGNETAR_RELEASE_API_URL` |
| `MagnetarArchiveAssetPattern` | Windows: `MagnetarForWindows-*.7z`; Linux/other: `MagnetarForLinux-*.7z`; `QUASAR_MAGNETAR_ARCHIVE_ASSET_PATTERN` |
| `MagnetarInstallDirectory` | `MagnetarPaths.GetQuasarManagedMagnetarInstallDirectory()`; `QUASAR_MAGNETAR_INSTALL_DIR` |
| `SteamCmdArchiveUrl` | Windows: ZIP from Valve; Linux: `.tar.gz` from Valve; `QUASAR_STEAMCMD_ARCHIVE_URL` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Namespace: `Quasar.Services.Updates`
| Property | Default / env var override |
|---|---|
| `Enabled` | `true`; `QUASAR_UPDATES_ENABLED` |
| `Owner` | `viktor-ferenczi`; `QUASAR_UPDATES_OWNER` |
| `Repository` | `Quasar`; `QUASAR_UPDATES_REPOSITORY` |
| `Owner` | `CometWorks`; `QUASAR_UPDATES_OWNER` |
| `Repository` | `quasar`; `QUASAR_UPDATES_REPOSITORY` |
| `IncludePrerelease` | `false`; `QUASAR_UPDATES_INCLUDE_PRERELEASE` |
| `AutoStageWebUpdates` | `true`; `QUASAR_UPDATES_AUTO_STAGE_WEB` |
| `CheckInterval` | 900 seconds minimum 60; `QUASAR_UPDATES_CHECK_INTERVAL_SECONDS` |
Expand Down
2 changes: 1 addition & 1 deletion Docs/Reference/files/Quasar/appsettings.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Default application configuration for the Quasar host. Provides baseline values
- `AgentOfflineShutdownSeconds`: `3600`
- `AgentReconnectIntervalSeconds`: `10`, `AgentReconnectJitterSeconds`: `3`
- `AgentProfilerMode`: `"SafeContinuous"` — fallback profiler mode forwarded to managed agents as `QUASAR_AGENT_PROFILER_MODE` when a server has no per-server profiler mode
- `Updates`: enabled GitHub update checks against `viktor-ferenczi/Quasar`, 900 s interval; Linux assets `quasar-web-linux-x64.tar.gz` / `quasar-installer-linux.tar.gz`, Windows assets `quasar-web-win-x64.zip` / `quasar-installer-windows.zip`; prereleases disabled by default
- `Updates`: enabled GitHub update checks against `CometWorks/quasar`, 900 s interval; Linux assets `quasar-web-linux-x64.tar.gz` / `quasar-installer-linux.tar.gz`, Windows assets `quasar-web-win-x64.zip` / `quasar-installer-windows.zip`; prereleases disabled by default

**`Quasar.ManagedRuntime`** (maps to `ManagedRuntimeOptions`):
- `MagnetarArchiveUrl`, `MagnetarInstallDirectory`
Expand Down
4 changes: 2 additions & 2 deletions Docs/WindowsDeploymentAndUpdates.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ Update defaults live in `Quasar:Updates`:
```json
{
"Enabled": true,
"Owner": "viktor-ferenczi",
"Repository": "Quasar",
"Owner": "CometWorks",
"Repository": "quasar",
"IncludePrerelease": false,
"AutoStageWebUpdates": true,
"CheckIntervalSeconds": 900,
Expand Down
8 changes: 4 additions & 4 deletions Quasar.Bootstrap/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,9 @@ internal sealed class BootstrapOptions

public bool UpdatesEnabled { get; init; } = true;

public string UpdatesOwner { get; init; } = "viktor-ferenczi";
public string UpdatesOwner { get; init; } = "CometWorks";

public string UpdatesRepository { get; init; } = "Quasar";
public string UpdatesRepository { get; init; } = "quasar";

public bool UpdatesIncludePrerelease { get; init; }

Expand Down Expand Up @@ -660,10 +660,10 @@ public static BootstrapOptions Create()
UpdatesEnabled = updatesEnabled,
UpdatesOwner = Environment.GetEnvironmentVariable("QUASAR_UPDATES_OWNER")
?? updatesSection["Owner"]
?? "viktor-ferenczi",
?? "CometWorks",
UpdatesRepository = Environment.GetEnvironmentVariable("QUASAR_UPDATES_REPOSITORY")
?? updatesSection["Repository"]
?? "Quasar",
?? "quasar",
UpdatesIncludePrerelease = includePrerelease,
UpdatesCheckInterval = TimeSpan.FromSeconds(intervalSeconds),
LinuxWebAssetName = Environment.GetEnvironmentVariable("QUASAR_UPDATES_LINUX_WEB_ASSET")
Expand Down
2 changes: 1 addition & 1 deletion Quasar/Services/ManagedRuntimeOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Quasar.Services;

public sealed class ManagedRuntimeOptions
{
private const string DefaultMagnetarReleaseApiUrl = "https://api.github.com/repos/viktor-ferenczi/Magnetar/releases/latest";
private const string DefaultMagnetarReleaseApiUrl = "https://api.github.com/repos/CometWorks/magnetar/releases/latest";
private const string DefaultLinuxMagnetarArchiveAssetPattern = "MagnetarForLinux-*.7z";
private const string DefaultWindowsMagnetarArchiveAssetPattern = "MagnetarForWindows-*.7z";
private const string DefaultLinuxSteamCmdArchiveUrl = "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz";
Expand Down
8 changes: 4 additions & 4 deletions Quasar/Services/Updates/QuasarUpdateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ public sealed class QuasarUpdateOptions
{
public bool Enabled { get; init; } = true;

public string Owner { get; init; } = "viktor-ferenczi";
public string Owner { get; init; } = "CometWorks";

public string Repository { get; init; } = "Quasar";
public string Repository { get; init; } = "quasar";

public bool IncludePrerelease { get; set; }

Expand Down Expand Up @@ -60,10 +60,10 @@ public static QuasarUpdateOptions Create(IConfiguration configuration)
Enabled = enabled,
Owner = Environment.GetEnvironmentVariable("QUASAR_UPDATES_OWNER")
?? section["Owner"]
?? "viktor-ferenczi",
?? "CometWorks",
Repository = Environment.GetEnvironmentVariable("QUASAR_UPDATES_REPOSITORY")
?? section["Repository"]
?? "Quasar",
?? "quasar",
IncludePrerelease = includePrerelease,
AutoStageWebUpdates = autoStageWebUpdates,
CheckInterval = TimeSpan.FromSeconds(intervalSeconds),
Expand Down
4 changes: 2 additions & 2 deletions Quasar/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
},
"Updates": {
"Enabled": true,
"Owner": "viktor-ferenczi",
"Repository": "Quasar",
"Owner": "CometWorks",
"Repository": "quasar",
"IncludePrerelease": false,
"AutoStageWebUpdates": true,
"CheckIntervalSeconds": 900,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ auto-updating them through goal-state reconciliation — while an in-process plu
It runs on **Linux** (systemd service) and **Windows** (Scheduled Task), in
foreground console or unattended background mode.

Each server uses the **[Magnetar](https://github.com/viktor-ferenczi/Magnetar)** plugin loader and launcher.
Each server uses the **[Magnetar](https://github.com/CometWorks/magnetar)** plugin loader and launcher.
Quasar deploys an agent plugin which connects back to Quasar.

Quasar downloads Magnetar and the Dedicated Server builds automatically and caches it locally until there is an update.

You can register new plugins by making PRs to the [MagnetarHub](https://github.com/viktor-ferenczi/MagnetarHub).
You can register new plugins by making PRs to the [MagnetarHub](https://github.com/CometWorks/magnetar-hub).

<!-- BEGIN packaged install instructions -->
## Getting started
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,5 @@ Manage the task:
Stop-ScheduledTask -TaskName '$TaskName'

Documentation:
https://github.com/viktor-ferenczi/Quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md
https://github.com/CometWorks/quasar/blob/main/Docs/WindowsDeploymentAndUpdates.md
"@
2 changes: 1 addition & 1 deletion scripts/package-linux-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ normalize_nuget_version() {
# beside the README, so relative links would dangle when opened from it.
build_packaged_readme() {
local source="$1" snippet="$2" dest="$3"
local repo_slug="${GITHUB_REPOSITORY:-viktor-ferenczi/Quasar}"
local repo_slug="${GITHUB_REPOSITORY:-CometWorks/quasar}"
local owner="${repo_slug%%/*}"
local repo="${repo_slug##*/}"
local base_url="https://github.com/$owner/$repo/blob/main/Docs/"
Expand Down
4 changes: 2 additions & 2 deletions scripts/package-windows-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ function Copy-Tree {
# relative links would dangle when opened from the unpacked archive.
function Build-PackagedReadme {
param([string]$Source, [string]$Snippet, [string]$Destination)
$owner = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[0] } else { 'viktor-ferenczi' }
$repo = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[1] } else { 'Quasar' }
$owner = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[0] } else { 'CometWorks' }
$repo = if ($env:GITHUB_REPOSITORY) { ($env:GITHUB_REPOSITORY -split '/')[1] } else { 'quasar' }
# Pin doc links to main: docs on main are always current and always resolve,
# unlike a tag/PR-merge ref that may predate a doc or not be a valid blob path.
$baseUrl = "https://github.com/$owner/$repo/blob/main/Docs/"
Expand Down
Loading