diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fabf5c9..6972ebe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.RELEASE_KEY }} - file: ./*.zip + file: ./SnowcloakClient.zip file_glob: true tag: ${{ github.ref }} overwrite: true \ No newline at end of file diff --git a/MareSynchronos/FileCache/CacheMonitor.cs b/MareSynchronos/FileCache/CacheMonitor.cs index cf832c0..2677319 100644 --- a/MareSynchronos/FileCache/CacheMonitor.cs +++ b/MareSynchronos/FileCache/CacheMonitor.cs @@ -631,7 +631,7 @@ public sealed class CacheMonitor : DisposableMediatorSubscriberBase if (string.IsNullOrEmpty(_configService.Current.CacheFolder) || !Directory.Exists(_configService.Current.CacheFolder)) { cacheDirExists = false; - Logger.LogWarning("Elezen Cache directory is not set or does not exist."); + Logger.LogWarning("Snowcloak Cache directory is not set or does not exist."); } if (!penDirExists || !cacheDirExists) { diff --git a/MareSynchronos/FileCache/FileCacheManager.cs b/MareSynchronos/FileCache/FileCacheManager.cs index 941879e..6dd4477 100644 --- a/MareSynchronos/FileCache/FileCacheManager.cs +++ b/MareSynchronos/FileCache/FileCacheManager.cs @@ -465,7 +465,7 @@ public sealed class FileCacheManager : IHostedService if (!_ipcManager.Penumbra.APIAvailable || string.IsNullOrEmpty(_ipcManager.Penumbra.ModDirectory)) { _mareMediator.Publish(new NotificationMessage("Penumbra not connected", - "Could not load local file cache data. Penumbra is not connected or not properly set up. Please enable and/or configure Penumbra properly to use Elezen. After, reload Elezen in the Plugin installer.", + "Could not load local file cache data. Penumbra is not connected or not properly set up. Please enable and/or configure Penumbra properly to use Snowcloak. After, reload Snowcloak in the Plugin installer.", MareConfiguration.Models.NotificationType.Error)); } diff --git a/MareSynchronos/MarePlugin.cs b/MareSynchronos/MarePlugin.cs index 2c08dd9..6f8d5c5 100644 --- a/MareSynchronos/MarePlugin.cs +++ b/MareSynchronos/MarePlugin.cs @@ -89,9 +89,9 @@ public class MarePlugin : MediatorSubscriberBase, IHostedService public Task StartAsync(CancellationToken cancellationToken) { var version = Assembly.GetExecutingAssembly().GetName().Version!; - Logger.LogInformation("Launching {name} {major}.{minor}.{build}.{rev}", "Elezen Sync", version.Major, version.Minor, version.Build, version.Revision); + Logger.LogInformation("Launching {name} {major}.{minor}.{build}.{rev}", "Snowcloak Sync", version.Major, version.Minor, version.Build, version.Revision); Mediator.Publish(new EventMessage(new Services.Events.Event(nameof(MarePlugin), Services.Events.EventSeverity.Informational, - $"Starting Elezen Sync {version.Major}.{version.Minor}.{version.Build}.{version.Revision}"))); + $"Starting Snowcloak Sync {version.Major}.{version.Minor}.{version.Build}.{version.Revision}"))); Mediator.Subscribe(this, (msg) => { if (_launchTask == null || _launchTask.IsCompleted) _launchTask = Task.Run(WaitForPlayerAndLaunchCharacterManager); }); Mediator.Subscribe(this, (_) => DalamudUtilOnLogIn()); @@ -157,7 +157,7 @@ public class MarePlugin : MediatorSubscriberBase, IHostedService if (_mareConfigService.Current.LogLevel != LogLevel.Information) { Mediator.Publish(new NotificationMessage("Abnormal Log Level", - $"Your log level is set to '{_mareConfigService.Current.LogLevel}' which is not recommended for normal usage. Set it to '{LogLevel.Information}' in \"Elezen Settings -> Debug\" unless instructed otherwise.", + $"Your log level is set to '{_mareConfigService.Current.LogLevel}' which is not recommended for normal usage. Set it to '{LogLevel.Information}' in \"Snowcloak Settings -> Debug\" unless instructed otherwise.", MareConfiguration.Models.NotificationType.Error, TimeSpan.FromSeconds(15000))); } #endif diff --git a/MareSynchronos/Plugin.cs b/MareSynchronos/Plugin.cs index 99367ea..dc5bdcf 100644 --- a/MareSynchronos/Plugin.cs +++ b/MareSynchronos/Plugin.cs @@ -29,7 +29,7 @@ using MareSynchronos.Services.CharaData; using MareSynchronos; -namespace ElezenSync; +namespace Snowcloak; public sealed class Plugin : IDalamudPlugin { diff --git a/MareSynchronos/Services/CommandManagerService.cs b/MareSynchronos/Services/CommandManagerService.cs index 67b6bc4..08c85c8 100644 --- a/MareSynchronos/Services/CommandManagerService.cs +++ b/MareSynchronos/Services/CommandManagerService.cs @@ -15,7 +15,7 @@ namespace MareSynchronos.Services; public sealed class CommandManagerService : IDisposable { private const string _commandName = "/sync"; - private const string _commandName2 = "/elezen"; + private const string _commandName2 = "/snowcloak"; private const string _ssCommandPrefix = "/ss"; diff --git a/MareSynchronos/Services/DalamudUtilService.cs b/MareSynchronos/Services/DalamudUtilService.cs index f8e4448..aaa8d87 100644 --- a/MareSynchronos/Services/DalamudUtilService.cs +++ b/MareSynchronos/Services/DalamudUtilService.cs @@ -462,9 +462,9 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber { _logger.LogInformation("Starting DalamudUtilService"); #pragma warning disable S2696 // Instance members should not write to "static" fields - ElezenSync.Plugin.Self.RealOnFrameworkUpdate = this.FrameworkOnUpdate; + Snowcloak.Plugin.Self.RealOnFrameworkUpdate = this.FrameworkOnUpdate; #pragma warning restore S2696 - _framework.Update += ElezenSync.Plugin.Self.OnFrameworkUpdate; + _framework.Update += Snowcloak.Plugin.Self.OnFrameworkUpdate; if (IsLoggedIn) { _classJobId = _clientState.LocalPlayer!.ClassJob.RowId; @@ -479,7 +479,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber _logger.LogTrace("Stopping {type}", GetType()); Mediator.UnsubscribeAll(this); - _framework.Update -= ElezenSync.Plugin.Self.OnFrameworkUpdate; + _framework.Update -= Snowcloak.Plugin.Self.OnFrameworkUpdate; return Task.CompletedTask; } diff --git a/MareSynchronos/UI/DtrEntry.cs b/MareSynchronos/UI/DtrEntry.cs index 4823dd1..8932bbf 100644 --- a/MareSynchronos/UI/DtrEntry.cs +++ b/MareSynchronos/UI/DtrEntry.cs @@ -104,7 +104,7 @@ public sealed class DtrEntry : IDisposable, IHostedService private IDtrBarEntry CreateEntry() { _logger.LogTrace("Creating new DtrBar entry"); - var entry = _dtrBar.Get("Elezen"); + var entry = _dtrBar.Get("Snowcloak"); entry.OnClick = _ => _mareMediator.Publish(new UiToggleMessage(typeof(CompactUi))); return entry; diff --git a/MareSynchronos/UI/UISharedService.cs b/MareSynchronos/UI/UISharedService.cs index 6d5aee4..02c6f07 100644 --- a/MareSynchronos/UI/UISharedService.cs +++ b/MareSynchronos/UI/UISharedService.cs @@ -534,7 +534,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase public void DrawCacheDirectorySetting() { - ColorTextWrapped("Note: The storage folder should be somewhere close to root (i.e. C:\\ElezenStorage) in a new empty folder. DO NOT point this to your game folder. DO NOT point this to your Penumbra folder.", ImGuiColors.DalamudYellow); + ColorTextWrapped("Note: The storage folder should be somewhere close to root (i.e. C:\\SnowcloakStorage) in a new empty folder. DO NOT point this to your game folder. DO NOT point this to your Penumbra folder.", ImGuiColors.DalamudYellow); var cacheDirectory = _configService.Current.CacheFolder; ImGui.SetNextItemWidth(400 * ImGuiHelpers.GlobalScale); ImGui.InputText("Storage Folder##cache", ref cacheDirectory, 255, ImGuiInputTextFlags.ReadOnly); @@ -544,7 +544,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase { if (IconButton(FontAwesomeIcon.Folder)) { - FileDialogManager.OpenFolderDialog("Pick Elezen Storage Folder", (success, path) => + FileDialogManager.OpenFolderDialog("Pick Snowcloak Storage Folder", (success, path) => { if (!success) return; @@ -604,7 +604,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase } else if (_cacheDirectoryHasOtherFilesThanCache) { - ColorTextWrapped("Your selected directory has files or directories inside that are not Elezen related. Use an empty directory or a previous storage directory only.", ImGuiColors.DalamudRed); + ColorTextWrapped("Your selected directory has files or directories inside that are not Snowcloak related. Use an empty directory or a previous storage directory only.", ImGuiColors.DalamudRed); } else if (!_cacheDirectoryIsValidPath) { @@ -619,7 +619,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase _configService.Current.MaxLocalCacheInGiB = maxCacheSize; _configService.Save(); } - DrawHelpText("The storage is automatically governed by Elezen. It will clear itself automatically once it reaches the set capacity by removing the oldest unused files. You typically do not need to clear it yourself."); + DrawHelpText("The storage is automatically governed by Snowcloak. It will clear itself automatically once it reaches the set capacity by removing the oldest unused files. You typically do not need to clear it yourself."); } public T? DrawCombo(string comboName, IEnumerable comboItems, Func toName, @@ -848,7 +848,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase if (!_penumbraExists || !_glamourerExists) { - ImGui.TextColored(ImGuiColors.DalamudRed, "You need to install both Penumbra and Glamourer and keep them up to date to use Elezen."); + ImGui.TextColored(ImGuiColors.DalamudRed, "You need to install both Penumbra and Glamourer and keep them up to date to use Snowcloak."); return false; } else if (NoSnapService.AnyLoaded) diff --git a/MareSynchronos/WebAPI/SignalR/HubFactory.cs b/MareSynchronos/WebAPI/SignalR/HubFactory.cs index 8d85acb..740fd14 100644 --- a/MareSynchronos/WebAPI/SignalR/HubFactory.cs +++ b/MareSynchronos/WebAPI/SignalR/HubFactory.cs @@ -115,7 +115,7 @@ public class HubFactory : MediatorSubscriberBase _ => apiUrl.Scheme }; - var wellKnownUrl = $"{httpScheme}://{apiUrl.Host}/.well-known/Elezen/client"; + var wellKnownUrl = $"{httpScheme}://{apiUrl.Host}/.well-known/Snowcloak/client"; Logger.LogTrace("Fetching hub config for {uri} via {wk}", _serverConfigurationManager.CurrentApiUrl, wellKnownUrl); using var httpClient = new HttpClient( diff --git a/MareSynchronos/images/icon.png b/MareSynchronos/images/icon.png deleted file mode 100644 index cf6e5d2..0000000 Binary files a/MareSynchronos/images/icon.png and /dev/null differ