Commit Graph

4947 Commits

Author SHA1 Message Date
RMBGAME 890f2fab37 🐛 fix最小化启动失效问题 2024-03-07 19:50:38 +08:00
Aigio Liu f561f841e3 🐛 MSStore DNS Mode x3 2024-03-07 18:59:45 +08:00
Aigio Liu a016631d68 🐛 MSStore DNS Mode x2 2024-03-07 18:24:46 +08:00
ff m 367c97b480 Script 文件存在强制替换 Delete 后未移动文件导致丢失。 2024-03-07 18:21:59 +08:00
Aigio L 6367bc5ed1 🐛 MSStore DNS Mode (#3211) 2024-03-07 17:07:59 +08:00
lxy829 2b69b98f3c 🎨 Riot Games and Rockstar switch 2024-03-06 16:28:47 +08:00
Aigio L a6010ba5f4 Merge pull request #3198 from BeyondDimension/develop
v3.0.0-rc.4_win_x64_240306_1204508630992
2024-03-06 13:42:14 +08:00
Aigio Liu 0c67cda96a 🔖 3.0.0 240306_1204508630992 3.0.0-rc.4 2024-03-06 13:39:59 +08:00
Aigio Liu c23823a5af 🐛 https://github.com/BeyondDimension/SteamTools/issues/3150 & XY_INSTALL 2024-03-05 18:36:00 +08:00
Aigio Liu f8424a2915 🐛 AppxManifestXml 2024-03-05 15:19:03 +08:00
Aigio Liu 152fc74869 🎨 MainTitle 2024-03-05 15:05:49 +08:00
RMBGAME 7c96f7af46 🐛 无游戏列表时UI展示 2024-03-05 14:53:11 +08:00
Aigio Liu 9b5bc82873 🔖 [Release] Steam++_v3.0.0-rc.4_win_x64_240305_1352180388780 2024-03-05 14:54:16 +08:00
RMBGAME 011c08266f ✨ 安装路径选择 2024-03-05 11:53:21 +08:00
RMBGAME bd43f16dd6 💄 GameAcc 2024-03-01 20:37:05 +08:00
RMBGAME 8bd7085d35 🐛 fix代理模式设置被还原问题 2024-03-01 19:49:05 +08:00
Aigio Liu 1bb5bef800 🔖 [Release] Steam++_v3.0.0-rc.4_win_x64_240301_1817017115562 2024-03-01 18:46:10 +08:00
Aigio Liu da73e4cb84 🎨 Publish NSIS 2024-03-01 18:02:59 +08:00
RMBGAME d11c1afc12 🐛 fix 账号切换uniqueId bugs 2024-03-01 18:00:43 +08:00
Aigio Liu f21f069a2b 🎨 PubTool 2024-03-01 15:57:45 +08:00
Aigio Liu 242866fe88 🎨 PublishTool 2024-03-01 14:10:08 +08:00
Aigio Liu 46d87bc2d6 🎨 WinDivertSharp.NativeAssets.Win32 2024-02-29 17:22:37 +08:00
RMBGAME 70ce3237cd 🐛 修复第一次区服选择丢失问题 2024-02-29 16:44:56 +08:00
RMBGAME e57e7db81b 🐛 fix XY_GetAccelStateEx InBackground MainThread Call Exception 2024-02-28 21:07:01 +08:00
Aigio Liu 5bbddf86cd 🐛 xunyou_testspeed_ex 2024-02-28 20:33:59 +08:00
RMBGAME 541399f011 🐛 Misc 2024-02-28 15:48:00 +08:00
Aigio Liu 287ff69011 🐛 游戏有服信息时,无法测速问题,新增接口xunyou_testspeed_ex 2024-02-28 15:31:30 +08:00
Aigio Liu b00fbba75f 🐛 Log XunYouAccelStateToFrontendCallback 2024-02-27 22:13:17 +08:00
RMBGAME f9f0325610 🐛 Fix StateChange not runing MainThread 2024-02-27 21:04:09 +08:00
Aigio Liu 6dae018cb7 ✨ XunYouAccelStateEx 2024-02-27 18:56:40 +08:00
Aigio Liu a675d8ea2f 🎨 XunYouAccelStateCallback 2024-02-27 18:56:40 +08:00
RMBGAME 586f5d6a6c 🐛 The most significant changes include the update of the ItemsPerLine property in CarouselItems.axaml to use a binding to the parent spp:CarouselItems's ItemsPerPage property, the replacement of a large block of code in HomePage.axaml with a new block that sets up a spp:CarouselItems control with a custom ItemTemplate, and the addition of a new line of code in GameAcceleratorService.cs to update the LastAccelerateTime property of the app object.
Here is a list of the changes:

1. In `CarouselItems.axaml`, the `ItemsPerLine` property of `spp:FixedWrapPanel` has been updated to use a binding to the parent `spp:CarouselItems`'s `ItemsPerPage` property. This change allows the number of items per line to dynamically adjust based on the parent's `ItemsPerPage` property.

2. In `HomePage.axaml`, a large block of code related to an `ItemsControl` has been commented out and replaced with a new block of code that sets up a `spp:CarouselItems` control with a custom `ItemTemplate`. This change simplifies the code and makes it easier to manage the items in the carousel.

3. In `GameAcceleratorService.cs`, a new line of code has been added to update the `LastAccelerateTime` property of the `app` object to the current time when the `startCode` is `101`. This change ensures that the `LastAccelerateTime` property is always up-to-date.

4. In `GameInfoPageViewModel.cs`, two new lines of code have been added to set the `SelectedArea` and `SelectedServer` properties of `XunYouGame` to `null` in the `BackSelectArea` method. This change resets the selected area and server when the user goes back to the select area page.

5. In `GameAppItem.axaml`, several changes have been made to the styles and properties of various elements. These changes improve the appearance of the game app item.

6. In `AcceleratorPage2.axaml.cs`, the `SearchGameBox_SelectionChanged` event handler has been replaced with a `SearchGameBox_DropDownClosed` event handler. This change improves the user experience by resetting the search box and scrolling the game list to the top after a game is selected.
2024-02-27 17:47:52 +08:00
Aigio Liu e4058219d0 🐛 热门游戏默认排序 2024-02-27 14:47:12 +08:00
Aigio Liu 9adeb39b4f 🐛 游戏信息根据 Id 排序与加速器上一致 2024-02-27 13:32:24 +08:00
Aigio Liu 2f71afc818 🐛 切换区服数据不变时不重新加速 & 屏蔽安装路径设置项界面 2024-02-27 12:48:14 +08:00
Aigio Liu aa271827b3 🐛 监听加速服切换 2024-02-26 17:11:11 +08:00
Aigio Liu 88ed73d720 🐛 首次启动切换区服 2024-02-26 16:49:11 +08:00
Aigio Liu cde6e0d724 ✨ 刷新时重新加载迅游游戏数据 2024-02-26 16:20:25 +08:00
RMBGAME df5e359d0d 🐛 fix监听加速区服切换BUG 2024-02-26 15:56:50 +08:00
RMBGAME 14e050a942 🐛 The most significant changes involve modifications to the GameAcceleratorService and the layout of the game accelerator page. In GameAcceleratorService, the RestoreGameStatus method now sets PingValue to a new default value, and the logic for adding and updating games has been altered. The condition for early return in the game area selection method has also been changed. The layout of the game accelerator page has been restructured, with changes to the placement of ScrollViewer and GameDetail component.
1. The default value for `PingValue` in `XunYouGameViewModel` has been changed from an empty string to a constant string `DefaultPingValue` set to `"--"`.
2. `RestoreGameStatus` method in `GameAcceleratorService` now sets `PingValue` to `DefaultPingValue` instead of `"0"`.
3. The logic for adding and updating games in `GameAcceleratorService` has been modified. If the game is found in `MyGames`, it is now removed before being added again.
4. The condition for early return in the game area selection method in `GameAcceleratorService` now checks if `SelectedArea` is null on `vm.XunYouGame` instead of `app`.
5. The layout of the game accelerator page in `AcceleratorPage2.axaml` has been changed. The `ScrollViewer` has been moved inside the `ContentLoader` and the `GameDetail` component has been moved outside the `ScrollViewer`.
6. The `ItemsRepeater` in `GameListPage.axaml` now has a `VerticalCacheLength` of `300`.
2024-02-23 20:36:04 +08:00
Aigio Liu 568483c454 🎨 PingValue/PingValueIsInvalid 2024-02-23 19:43:32 +08:00
Aigio Liu 926fd00fc7 🐛 PingValue 2024-02-23 18:56:07 +08:00
Aigio Liu 5c64dd1168 🐛 MyGames Save 2024-02-23 17:26:57 +08:00
Aigio Liu 5dd50aeeca 🎨 延迟大于等于1000,显示-- 2024-02-23 16:05:29 +08:00
RMBGAME c2bb27c537 🐛 The most significant changes involve the GameAcceleratorService class and the GameAppItem.axaml and GameDetail.axaml files. In the GameAcceleratorService class, the variable game2 is now used instead of game in certain cases, and the properties IsAccelerated, IsAccelerating, and LastAccelerateTime are now set directly on game2. The class also now includes SelectedArea and SelectedServer in the GameInfoPageViewModel instance creation and uses an async version of GameAccelerator. In the GameAppItem.axaml and GameDetail.axaml files, new styles and properties have been added and some properties have been moved or removed.
Changes:

1. The `GameAcceleratorService` class now uses `game2` instead of `game` in the switch case for `XunYouState.加速中` and `XunYouState.加速已完成`. The properties `IsAccelerated`, `IsAccelerating`, and `LastAccelerateTime` are now set directly on `game2` (Code Change 1).
2. The `GameAcceleratorService` class now includes `SelectedArea` and `SelectedServer` in the `GameInfoPageViewModel` instance creation (Code Change 2).
3. The `GameAcceleratorService` class now uses an async version of `GameAccelerator` (Code Change 3).
4. The `GameInfoPageViewModel` class has been updated to change the second parameter of `WhenPropertyChanged` from `false` to `true` for `XunYouGame.SelectedArea` (Code Change 4).
5. The `GameAppItem.axaml` file has been updated with a new style for `Grid Panel.AppName TextBlock.LeftMargin` and new properties for `spp:Image2`. The `Margin` property of `TextBlock` has been moved to a new class `Classes.LeftMargin` (Code Change 5).
6. The `GameDetail.axaml` file has been updated to move the `spp:Image2` inside a `StackPanel` and add `IsVisible` and `Margin` properties to it. The `Margin` property of `TextBlock` has been removed (Code Change 6).
7. The `AcceleratorPage2.axaml.cs` file has been updated to add a new dictionary `dictPinYinArray` and a new method `GameContains` that checks if a game contains a given text using case-insensitive comparison and Pinyin comparison. The `TextSelector` and `TextFilter` properties of `SearchGameBox` have been set to `null` and `GameContains` respectively (Code Change 7).
2024-02-23 15:10:30 +08:00
Aigio Liu 9cf88df056 ✨ 确定性编译 2024-02-23 14:56:56 +08:00
RMBGAME 995aaee884 🐛 The most significant changes are in the AuthenticatorHomePageViewModel.cs and AuthenticatorHomePage.axaml files. In the ViewModel, a new else block has been added to set IsVerificationPass to true when the condition for the if statement is not met. In the axaml file, the visibility of the StackPanel is now directly bound to the IsVerificationPass property, simplifying the visibility condition. The MultiBinding converter code has been commented out, indicating it is no longer in use.
List of changes:

1. A new else block has been added to the `AuthenticatorHomePageViewModel.cs` file. This block sets `IsVerificationPass` to true when the if statement's condition is not met.

2. In the `AuthenticatorHomePage.axaml` file, the visibility of the `StackPanel` is now directly bound to the `IsVerificationPass` property. This change simplifies the visibility condition of the `StackPanel`.

3. The `MultiBinding` converter code, which was previously used to bind `IsVerificationPass` and `Auths.Count` to the visibility of the `StackPanel`, has been commented out. This indicates that it is no longer in use but is kept for possible future reference.

4. No changes have been made to the `TextBlock` element. It is included for context.
2024-02-23 01:23:23 +08:00
RMBGAME 99e915adbe 🐛 The most significant changes involve the GameAccelerator method in the GameAcceleratorService class and the GameAcceleratorCommand ReactiveCommand. The GameAccelerator method has been changed from an asynchronous void method to an asynchronous Task method, allowing for improved error handling and control flow. The GameAcceleratorCommand has been updated to reflect this change. Additionally, a new property IsAccelerating has been added to the XunYouGameViewModel class to better track the state of the game acceleration process.
Changes:

1. The `GameAccelerator` method in the `GameAcceleratorService` class has been changed from an asynchronous void method to an asynchronous Task method. This change allows for better error handling and control flow.

2. The `GameAcceleratorCommand` ReactiveCommand has been updated to use `CreateFromTask` instead of `Create`, reflecting the change in the `GameAccelerator` method.

3. A new property `IsAccelerating` has been added to the `XunYouGameViewModel` class. This property is set to `true` at the start of the `GameAccelerator` method and is set to `false` in various places where the method may return early due to an error or condition not being met. This change allows for better tracking of the state of the game acceleration process.

4. The line setting `app.IsAccelerating` to `true` has been removed from the end of the `GameAccelerator` method, as it is now set at the start of the method.

5. In the case where the game acceleration is stopped successfully, the line setting `app.IsAccelerating` to `true` has been removed. In the case where stopping the game acceleration fails, `app.IsAccelerating` is now set to `false`.
2024-02-23 01:23:23 +08:00
ff m b8801d6b82 🐛 调整更新文本大小按钮位置. 2024-02-22 18:17:58 +08:00
Aigio Liu 73639376aa 🐛 Application Crash - Watt Toolkit
---------------------------
Stopped program because of exception, name: AppDomain, isTerminating: True
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IServiceProvider'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at System.Log.get_Factory()
   at System.Log.CreateLogger(String tag)
   at System.Log.Error(String tag, String msg, Object[] args)
   at BD.WTTS.Services.Implementation.BackendAcceleratorServiceImpl.XunYouAccelStateToFrontendCallback(XunYouAccelStateModel m) in C:\Code\2023\SteamTools\src\BD.WTTS.Client.Plugins.Accelerator\Services.Implementation\BackendAcceleratorServiceImpl.XunYou.cs:line 49
   at BD.WTTS.Services.Implementation.BackendAcceleratorServiceImpl.XunYouAccelStateCallback(XunYouState status, IntPtr thisptr) in C:\Code\2023\SteamTools\src\BD.WTTS.Client.Plugins.Accelerator\Services.Implementation\BackendAcceleratorServiceImpl.XunYou.cs:line 30
---------------------------
确定
---------------------------
2024-02-22 18:16:24 +08:00