Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync zzz-mobile-mode with main #604

Merged
merged 586 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
586 commits
Select commit Hold shift + click to select a range
3127ed5
Merge branch 'main' into playtime-stats
gablm Sep 28, 2024
f638e1e
Playtime - Recover prototype UI
gablm Sep 28, 2024
9234c9c
Sqlite database prototype
bagusnl Sep 28, 2024
6fdbbf4
Fix everything broke idk my head hurt
bagusnl Sep 28, 2024
8e3113f
Switch to Flyout for Playtime Stats
neon-nyan Sep 29, 2024
1903a77
Detach TaskScheduler initialization
neon-nyan Sep 29, 2024
b0fa3cd
Use async void for InitializeDetached
neon-nyan Sep 29, 2024
18a7801
Use JsonTypeInfo<T> based DownloadAsJSONType
neon-nyan Sep 29, 2024
434b230
Make GetPackagesRemoteSize run in parallel
neon-nyan Sep 29, 2024
6a1df2d
Reduce unzip buffer to 4 MB/thread + Use Uninit Array
neon-nyan Sep 29, 2024
ab1cd03
tiiiny bit of codeQA
bagusnl Sep 29, 2024
af468e6
[skip ci] Remove unused usings
bagusnl Sep 29, 2024
def6737
[CRIT] Upgrade to .NET 9 (#577)
bagusnl Sep 29, 2024
08cddfa
Merge branch 'main' into playtime-stats
gablm Sep 29, 2024
f3141eb
Playtime - Merge Fix
gablm Sep 29, 2024
1e96726
Align playtime button to the left
gablm Sep 29, 2024
d20929f
Update message related to reseting playtime
gablm Sep 29, 2024
ea61169
Make close and minimize buttons the same width
gablm Sep 29, 2024
7158608
Merge branch 'main' into playtime-stats
gablm Sep 29, 2024
2be2e32
Update localization
gablm Sep 29, 2024
ddd7397
Update README.md
gablm Sep 29, 2024
2efdf8f
[skip ci] Sync translation Translate en_US.json in es_419
transifex-integration[bot] Sep 30, 2024
054895a
rebiew and qodana
gablm Sep 30, 2024
e6cf38a
switch base to `playtime-stats`
bagusnl Oct 1, 2024
f37ef49
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Oct 1, 2024
0fcae76
Make Qodana happy
neon-nyan Oct 1, 2024
388cfbb
Add support for tracking playtime statistics (#584)
neon-nyan Oct 1, 2024
3a2560b
Fix DBHandler
bagusnl Oct 1, 2024
6964a98
Initial DB implementation - Playtime
bagusnl Oct 1, 2024
18aa7f3
Fix stuff
bagusnl Oct 1, 2024
c8bd066
[PlaytimeDB] Add more value store
bagusnl Oct 1, 2024
2c2b848
[skip ci] Sync translation Translate en_US.json in id_ID
transifex-integration[bot] Oct 1, 2024
ac374fa
[skip ci] Sync translation Translate en_US.json in es_419
transifex-integration[bot] Oct 2, 2024
c53aea9
Update NuGet-Gud
neon-nyan Oct 2, 2024
71d414c
Fix FileCleanupPage binding
neon-nyan Oct 2, 2024
2ccdc4f
Fix TaskScheduler init doesn't run detached
neon-nyan Oct 3, 2024
1716b7a
Remove first init on TaskScheduler
neon-nyan Oct 4, 2024
b3aa6c8
[Perf] Parallelize API loading
neon-nyan Oct 4, 2024
26db155
Increase audio language selection opacity
neon-nyan Oct 4, 2024
1a00288
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Oct 5, 2024
bd5d927
Switch from using JSON Context to JsonTypeInto<T>
neon-nyan Oct 5, 2024
0f3a6a3
Merge branch 'main' into col-db
bagusnl Oct 5, 2024
4bb4a65
Initial implementation for the playtime sync
bagusnl Oct 5, 2024
882b921
[PlaytimeDB] Save new value if database values is older
bagusnl Oct 5, 2024
22b8d4b
Change inner prop name to reduce confusion
bagusnl Oct 5, 2024
61c83a0
Fix property not updating local playtime
neon-nyan Oct 5, 2024
296ebc4
[PlaytimeDB] Invoke forceDbUpdate on user force
bagusnl Oct 5, 2024
3b593ec
[PlaytimeDB] Initial frontend
bagusnl Oct 5, 2024
ab945f9
Eepy
neon-nyan Oct 6, 2024
31142ae
[DB] Close config file after creation
bagusnl Oct 6, 2024
1e22f95
[DB] Handler improvements
bagusnl Oct 6, 2024
2670044
[PlaytimeDB] Dem frontends
bagusnl Oct 6, 2024
c283501
CodeQA
bagusnl Oct 6, 2024
20480fe
Eat dessert
neon-nyan Oct 7, 2024
9de578a
Adding basic repair function for ZZZ
neon-nyan Oct 7, 2024
47757ea
[Playtime Stats] Align Stats and Recent Session columns when beeg text
gablm Oct 7, 2024
5f57b9a
Merge remote-tracking branch 'origin/main' into col-db
bagusnl Oct 8, 2024
81236f8
[DB] Fix crashing due to empty Token
bagusnl Oct 8, 2024
c845699
[PlaytimeDB] Pass gameSettings to new instance
bagusnl Oct 8, 2024
dd77b16
[DB] Save on guid generate
bagusnl Oct 8, 2024
cfcab0c
[PlaytimeDB] UI Fixes
bagusnl Oct 8, 2024
57f5a2e
[DB] Localize error throw
bagusnl Oct 8, 2024
c3c1d32
[DB] Oops... Dropped my unused usings
bagusnl Oct 8, 2024
d8a908c
[DB] Fix Handler exception throw logics
bagusnl Oct 8, 2024
cad6242
[DB] Force first init on config change
bagusnl Oct 8, 2024
007d035
[PlaytimeDB] Fetch and checkstamp first during sync
bagusnl Oct 8, 2024
97d13ba
[PlaytimeDB] CodeQA async fix
bagusnl Oct 8, 2024
c31afd3
[PlaytimeDB] Move database puller in sync op
bagusnl Oct 8, 2024
4bb6463
Update to .NET9 RC2
bagusnl Oct 9, 2024
a05cb5a
Merge branch 'main' into zzz-repair-cache-support
bagusnl Oct 9, 2024
922b035
Update to .NET9 RC2 - EncTool
bagusnl Oct 9, 2024
c3b1ec3
[skip ci] Fix NuGet error
bagusnl Oct 9, 2024
14c498d
Fix NuGet error
bagusnl Oct 9, 2024
1772711
Fix NuGet error pt2
bagusnl Oct 9, 2024
33816ba
Merge branch 'main' into zzz-repair-cache-support
bagusnl Oct 9, 2024
19c2db7
[skip ci] Sync translation Translate en_US.json in uk_UA
transifex-integration[bot] Oct 9, 2024
4323dcd
Initial support for dispatch-based repair and cache update
neon-nyan Oct 9, 2024
bfee12c
Fix missing Enum adjustment
neon-nyan Oct 9, 2024
7ba3e28
Update NuGet-gut + Submodule
neon-nyan Oct 9, 2024
3acbf9d
Update CsWinRT
bagusnl Oct 10, 2024
9e19ed6
Sync base
bagusnl Oct 10, 2024
312e6ac
Early CodeQA
bagusnl Oct 11, 2024
a217add
Sync base
bagusnl Oct 11, 2024
ef8feb9
[DB] Add Unauthorized throw
bagusnl Oct 13, 2024
34a0384
[PlaytimeDB] Fix button margin
bagusnl Oct 13, 2024
4db29bf
[DB] Force user to press validate and save button to apply changes
bagusnl Oct 13, 2024
8b76ef7
[DB] Typo fixes
bagusnl Oct 13, 2024
aa26427
Fix 404 error on non-patch res files
neon-nyan Oct 13, 2024
e8b7cfb
Use uninit memalloc on hash buffer
neon-nyan Oct 13, 2024
b7f4c73
CodeQA
neon-nyan Oct 13, 2024
febd078
CodeQA (again)
neon-nyan Oct 13, 2024
c871a77
Re-associate sleepy's url query
neon-nyan Oct 13, 2024
7ea6703
Much CodeQA later
neon-nyan Oct 13, 2024
acda959
Add delta-patch support
neon-nyan Oct 13, 2024
5e20e80
[Playtime Stats] Fix deserialization not being able to set properties
gablm Oct 13, 2024
d3df330
Merge branch 'main' into col-db
gablm Oct 13, 2024
ae8f379
[DB] Force InvariantCulture when converting to double
gablm Oct 13, 2024
2dede52
[DB] Remove UID restriction to GUID
bagusnl Oct 18, 2024
bf2491d
[skip ci] [DB] Change User ID text field title
bagusnl Oct 18, 2024
2b82f82
CodeQA
neon-nyan Oct 19, 2024
d5f2be3
Adding fallback to read pkg_version directly if MetaRepo one is missing
neon-nyan Oct 19, 2024
af2fd72
Fix launcher cannot find an existing installation on locating
neon-nyan Oct 19, 2024
2c4372b
Fix FIleInfo exception on Sophon
neon-nyan Oct 19, 2024
2f80063
Set DownloadChunkSize to 20MiB by default
neon-nyan Oct 19, 2024
6569403
Display avg. remained time on sophon download
neon-nyan Oct 19, 2024
e8f48ec
Add GlobalIllumination and MotionBlur option on ZZZ Game Settings
neon-nyan Oct 19, 2024
f086d99
Nullable assignment on ZZZ's GeneralData
neon-nyan Oct 19, 2024
381fe9c
Make ZZZ's ``SystemSettingLocalData<TData>`` readonly
neon-nyan Oct 19, 2024
c9968f5
Accept nullable JsonNode on ZZZ's SystemSettingLocalData
neon-nyan Oct 19, 2024
f1a7c0e
Use Parent's JsonNode as non-nullable with default
neon-nyan Oct 19, 2024
d1111da
Remove unused ZenlessResManifest
neon-nyan Oct 19, 2024
05756a1
Use primary ctor on ZenlessCache
neon-nyan Oct 19, 2024
64880ac
Update NuGet-gut
neon-nyan Oct 19, 2024
3f51450
Use R2R compilation on non-AOT release
neon-nyan Oct 19, 2024
397d414
Update DeployInstaller script
neon-nyan Oct 19, 2024
60355be
Update packages.lock.json
neon-nyan Oct 19, 2024
d4bb74e
Adding Zenless Zone Zero Repair, Cache Update and future Delta-Patch …
neon-nyan Oct 20, 2024
2fcd1c9
Fallback to no-argument on plugin update launch
neon-nyan Oct 20, 2024
69dffa4
Fix memory leak on Game Check feature
neon-nyan Oct 20, 2024
915a45d
CodeQA
neon-nyan Oct 20, 2024
4682da9
Use _bufferBigLength for file check on repair and cache update
neon-nyan Oct 20, 2024
81fc20d
Sync base
bagusnl Oct 20, 2024
3d53419
Implement Database Synchronization Function for Game Playtime (#586)
bagusnl Oct 20, 2024
7365627
[skip ci] Remove Squirrel reference from AppVeyor script
bagusnl Oct 20, 2024
c3260b1
[skip ci] Switch to separate preview artifact config slug
bagusnl Oct 20, 2024
5f04b62
Disable some .NET functions on AOT
neon-nyan Oct 20, 2024
0d606ca
Merge branch 'game-config-improvements'
neon-nyan Oct 20, 2024
2876df0
Update packages.lock.json
neon-nyan Oct 20, 2024
c874ee4
Fix StarRail fetch doesn't aware with CancellationToken
neon-nyan Oct 20, 2024
18621b1
Update packages.lock.json
neon-nyan Oct 20, 2024
46eb748
Make StarRail's Game Repair and Cache Update fetch parallel
neon-nyan Oct 20, 2024
466ed80
Use Task instead of ValueTask on API loading
neon-nyan Oct 20, 2024
80493bb
[skip ci] Sync translation Translate en_US.json in es_419
transifex-integration[bot] Oct 21, 2024
0f4922a
Catch DllNotFound exceptions on VulkanTest on Waifu2X
neon-nyan Oct 22, 2024
042caab
Use custom path resolver on Waifu2X PInvoke calls
neon-nyan Oct 22, 2024
049bbb5
Switch NumberBox SpinButtonPlacementMode to Inline due to WASDK being…
bagusnl Oct 22, 2024
801d74f
Generate DirectPInvoke bindings for w2x and LibSqlite
bagusnl Oct 22, 2024
e86c0ae
Cache Waifu2x dll path and use the extension
neon-nyan Oct 23, 2024
a33d995
Removing misused DirectPInvoke
neon-nyan Oct 23, 2024
334d834
PInvoke improvements for Waifu2X
neon-nyan Oct 23, 2024
80a57ca
Use local buffer for param & model load on Waifu2X
neon-nyan Oct 23, 2024
2e2c589
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Oct 23, 2024
55a0b01
Update NuGet-gut
neon-nyan Oct 23, 2024
3c117a5
Move necessary delta-patch to get process on post
neon-nyan Oct 23, 2024
fdb6bb5
Use aysnc ApplyDeleteFileActionAsync
neon-nyan Oct 23, 2024
46e8509
Update submodules
neon-nyan Oct 23, 2024
69613ee
Use static lib for Libsql.Client's csharp_bindings
neon-nyan Oct 23, 2024
ff6b19e
Remove LibSql.Client csharp_bindings.dll after publish
bagusnl Oct 24, 2024
abcbabb
Only LibSql.Client csharp_bindings.dll after publishing as Native AOT
bagusnl Oct 24, 2024
89e2861
[skip ci] Sync translation Translate en_US.json in zh_CN
transifex-integration[bot] Oct 24, 2024
6db9fc4
Use built-in Hex <--> String converter
neon-nyan Oct 25, 2024
c3ea4e4
CodeQA
neon-nyan Oct 25, 2024
ddfc55f
Optimize csharp_bindings's static library
neon-nyan Oct 25, 2024
ee47f89
Cache page navigation and reset if necessary
neon-nyan Oct 25, 2024
6e5c465
Fix missed background blur on switching cache and repair
neon-nyan Oct 25, 2024
19ebc8f
Add Waifu2x static library for NativeAOT
neon-nyan Oct 25, 2024
f83ecdc
Remove unused libomp library on NativeAOT
neon-nyan Oct 25, 2024
d3647c7
ColorThief improvements
neon-nyan Oct 26, 2024
3940264
Reduce async IO overhead on Hi3Helper.Http
neon-nyan Oct 26, 2024
101aa1c
Clear AssetEntry list on page exit
neon-nyan Oct 26, 2024
04b1a01
Use async IO on Game Repair and Cache Update check
neon-nyan Oct 26, 2024
9492166
Reduce CheckHash's buffer to 512 KB max
neon-nyan Oct 26, 2024
5e5d3ec
Use UpdateAssetProgress delegate on ZZZ Cache Update
neon-nyan Oct 26, 2024
6d48296
Bring DefineConstants to Publish Profiles
bagusnl Oct 26, 2024
acdb077
Add more editable SLNX format for the project
bagusnl Oct 26, 2024
2f57a46
Update NuGet
bagusnl Oct 26, 2024
2e11a28
Bump version + Update TPN
bagusnl Oct 26, 2024
087672b
Update SevenZipExtractor
neon-nyan Oct 26, 2024
0977a8f
ˢᵐᵃˡˡ ᶜᵒᵈᵉᵠᵃ
bagusnl Oct 26, 2024
1d6748f
Fix Visual Studio don't recognize projects on .slnx
neon-nyan Oct 26, 2024
433b5bf
Remove platform condition in DefineConstants field
bagusnl Oct 26, 2024
f5b6b5b
Write RuntimeFeatures at launch
bagusnl Oct 27, 2024
54b8e4f
Ignore ReSharper Xaml Errors
bagusnl Oct 27, 2024
6f8127c
Improve Database Input UI/UX
neon-nyan Oct 27, 2024
fbfb032
Fix cache not applicable for GameSettingsPage
neon-nyan Oct 27, 2024
5badadf
XamlStyle
neon-nyan Oct 27, 2024
6d6378b
More queue on BG Image actions
neon-nyan Oct 27, 2024
aba1eb1
Make app critical error restart work
neon-nyan Oct 27, 2024
40311fd
Remove unused libs and pdb on publish
neon-nyan Oct 27, 2024
5742dd9
Fix hard crash if BG image is corrupted
neon-nyan Oct 27, 2024
3c7b029
Log BG image load error
neon-nyan Oct 27, 2024
a873fbf
Throw inner exception of image loader
neon-nyan Oct 27, 2024
5224248
Implement ReadAsync overrides on ``BridgedNetworkStream``
neon-nyan Oct 27, 2024
4b0f1fe
Send exception on ActionBlock<T> function
neon-nyan Oct 29, 2024
0de1363
Use new thread on most ResizeImageStream routine
neon-nyan Oct 29, 2024
648edad
Statically link libwebp on NativeAOT
neon-nyan Oct 29, 2024
42bad0a
Enable hash-based check on API sprites
neon-nyan Oct 29, 2024
b6c397f
Always Enqueue ActionBlock<Action> calls
neon-nyan Oct 29, 2024
c502a7a
Fix missing libomp for users with no Vulkan GPU support
neon-nyan Oct 29, 2024
fee77c4
Remove all debug symbols from NativeAOT publish
bagusnl Oct 29, 2024
aeeb797
Introduce GetRestrictedFolderPathDialog()
neon-nyan Oct 30, 2024
9fcf4be
Revert FileOptions.Asynchronous
neon-nyan Oct 30, 2024
0b94d6f
Update MVVM Nuggies
bagusnl Oct 30, 2024
e0aebfc
Implement check override for existing game directory
neon-nyan Oct 30, 2024
43c978a
Appveyor config update
bagusnl Oct 30, 2024
4879989
[appveyor] Use preview dotnet sdk
bagusnl Oct 30, 2024
0f63338
[appveyor] switch to test branch
bagusnl Oct 30, 2024
8282ede
[appveyor] fix inno path
bagusnl Oct 30, 2024
4ac3953
Turn TaskSchedulerHelper into async
bagusnl Oct 31, 2024
ef33544
Add generatevelopackmetadata command
neon-nyan Oct 31, 2024
8e5b7ed
Disable FileOptions.Asynchronous across the app
neon-nyan Oct 31, 2024
5361cb4
Align QuickSettings flyout placement
gablm Nov 1, 2024
284ad7f
[Playtime] Check if stats should be reset after load
gablm Nov 1, 2024
d076f85
Merge branch 'main' into nativeaot-test
bagusnl Nov 1, 2024
be6d035
[appveyor] generate vpk metadata in ci
bagusnl Nov 1, 2024
363de37
[appveyor] it do love one liner
bagusnl Nov 1, 2024
39712de
[appveyor] removing whitespace
bagusnl Nov 1, 2024
f74d72f
[appveyor] please work pt1
bagusnl Nov 1, 2024
a697952
[appveyor] please work pt2
bagusnl Nov 1, 2024
a71b784
[appveyor] please work pt3
bagusnl Nov 1, 2024
f14824a
[appveyor] please work pt3
bagusnl Nov 1, 2024
132aa5f
[appveyor] admitting defeat
bagusnl Nov 1, 2024
a83d83f
Update more nuggies
bagusnl Nov 1, 2024
fb70835
Merge branch 'nativeaot-test'
bagusnl Nov 1, 2024
fe499c5
[skip ci] Prepare AppVeyor configs for NativeAOT release
bagusnl Nov 1, 2024
70e2eeb
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Nov 1, 2024
9273156
Avoid DisplayInformation crash on older hardware
neon-nyan Nov 2, 2024
9833dc1
Update README.md
neon-nyan Nov 2, 2024
e2ca70f
[skip ci] Sync translation Translate en_US.json in zh_CN
transifex-integration[bot] Nov 3, 2024
b4b8832
Fix NRE on Check Update when no new version is available
bagusnl Nov 3, 2024
f1b3ba1
Add RPC notification when installing/updating game
bagusnl Nov 3, 2024
11fe45e
Fix plugin update exception while trying to run the program
bagusnl Nov 3, 2024
eec32dc
Use async when opening folders
bagusnl Nov 3, 2024
167004a
Update nungiessssss
bagusnl Nov 3, 2024
2e6f81c
Fix plugin update exception while trying to run the program part 2
bagusnl Nov 3, 2024
74bab3b
Adjust new StarRail Repair game mechanism
neon-nyan Nov 4, 2024
5fab05d
Fix wrong displayed total size on sophon preload
neon-nyan Nov 4, 2024
aec43fd
[GSP-ZZZ] Add new setting
bagusnl Nov 6, 2024
fdf66a2
[skip ci] [AppVeyor] Disable NativeAOT release for Preview
bagusnl Nov 6, 2024
372f999
[GSP-ZZZ] Change disposer in GeneralData.cs
bagusnl Nov 6, 2024
9bfa186
Disable caching on GameSettings, Cache and Game Repair page
neon-nyan Nov 6, 2024
46bdea0
[skip ci] Sync translation Translate en_US.json in id_ID [Manual Sync]
transifex-integration[bot] Nov 6, 2024
dda8c28
Bump the thing
neon-nyan Nov 6, 2024
eb28b96
[skip ci] Sync translation Translate en_US.json in es_419
transifex-integration[bot] Nov 6, 2024
820479c
Remove the use of the stub for Steam and TaskScheduler
bagusnl Nov 7, 2024
2cfc83b
[skip ci] Sync translation Translate en_US.json in zh_CN
transifex-integration[bot] Nov 8, 2024
d5d1317
Fix Icon Recreation NRE on Hi3Helper.TaskScheduler
neon-nyan Nov 9, 2024
c624f31
Cache ILoggerHelper
neon-nyan Nov 9, 2024
888f969
Add Trim-friendly QueryInterfaceAs API
neon-nyan Nov 9, 2024
d75761c
Log GetInvokeCommandReturnCode command
neon-nyan Nov 9, 2024
b123ef7
Implement ``ShellLink`` API for Icon recreation
neon-nyan Nov 9, 2024
e1766a2
``QueryInterfaceAs`` -> ``CastComInterfaceAs``
neon-nyan Nov 9, 2024
c09bd8e
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Nov 10, 2024
e189aa3
[skip ci] Sync translation Translate en_US.json in id_ID
transifex-integration[bot] Nov 12, 2024
5674ef8
Update da NuGet-gut
neon-nyan Nov 12, 2024
6f74f03
Move shortcut creation logic to the main app
neon-nyan Nov 12, 2024
51238ec
Forgor the thing :yaebruh:
neon-nyan Nov 12, 2024
7a8e51e
Remove and Fix OneWay unused binding warnings
neon-nyan Nov 12, 2024
7b4d0a0
Switch to .NET 9 GA in GitHub CI
bagusnl Nov 12, 2024
73db88d
Update to .NET 9 GA
bagusnl Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ body:
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
placeholder: What are the alternatives you've considered? Sometimes, the Collapse team can't always implement everything the way you envisonned it, so what are some compromises, changes you're willing to make to the current proposal?
placeholder: What are the alternatives you've considered? Sometimes, the Collapse team can't always implement everything the way you envisioned it, so what are some compromises, changes you're willing to make to the current proposal?
validations:
required: true

Expand All @@ -56,4 +56,4 @@ body:
placeholder: If there are any images, concept art, code snippets you're willing to share, please put them here.
validations:
required: false
---
---
63 changes: 55 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
configuration: [Release] # No need to distribute Debug builds
configuration: [Debug] # No need to distribute Debug builds
platform: [x64]
framework: [net8.0-windows10.0.22621.0]
framework: [net9.0-windows10.0.22621.0]

env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
DOTNET_INSTALL_DIR: '.\.dotnet'
DOTNET_VERSION: '8.x'
DOTNET_VERSION: '9.x'
DOTNET_QUALITY: 'ga'
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

steps:
Expand All @@ -42,6 +43,48 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-quality: ${{ env.DOTNET_QUALITY }}
cache: true
cache-dependency-path: CollapseLauncher/packages.lock.json

- name: Build
run: |
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIRelease -p:PublishDir=".\debug-build\"

- name: Upload Artifact
uses: actions/[email protected]
with:
name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }}
path: ./CollapseLauncher/debug-build/
compression-level: 9

build-nativeaot:
runs-on: windows-latest
strategy:
matrix:
configuration: [Debug]
platform: [x64]
framework: [net9.0-windows10.0.22621.0]

env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
DOTNET_INSTALL_DIR: '.\.dotnet'
DOTNET_VERSION: '9.x'
DOTNET_QUALITY: 'ga'
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: recursive

- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-quality: ${{ env.DOTNET_QUALITY }}
cache: true
cache-dependency-path: CollapseLauncher/packages.lock.json

Expand All @@ -51,16 +94,20 @@ jobs:

- name: Build
run: |
dotnet publish CollapseLauncher -p:PublishProfile=Publish-PreviewRelease -p:PublishDir=".\preview-build\"
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\"

- name: Upload Artifact (Release)
- name: Upload Artifact
uses: actions/[email protected]
if: ${{ matrix.configuration == 'Release' }}
with:
name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }}
path: ./CollapseLauncher/preview-build/
name: aot-experimental_collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }}
path: ./CollapseLauncher/debug-aot-build/
compression-level: 9

notify-discord:
runs-on: ubuntu-latest
if: always()
needs: [build, build-nativeaot]
steps:
- name: Notify Discord
uses: sarisia/[email protected]
if: always()
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
*/bin/*
*/obj/*
**/bin/*
**/obj/*
*build/*
.vs/*
*.user
packages/*

CollapseLauncher/Deps/*
CollapseLauncher/Invoker/*
**/Generated Files/**
*.psd
InstallerProp/Output/*
InstallerProp/temp/**
Expand Down
12 changes: 9 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "Hi3Helper.Core/Classes/Data/Tools/SevenZipTool/SevenZipExtractor"]
path = Hi3Helper.Core/Classes/Data/Tools/SevenZipTool/SevenZipExtractor
url = https://github.com/neon-nyan/SevenZipExtractor
[submodule "Hi3Helper.Http"]
path = Hi3Helper.Http
url = https://github.com/neon-nyan/Hi3Helper.Http
Expand All @@ -19,3 +16,12 @@
[submodule "Hi3Helper.Sophon"]
path = Hi3Helper.Sophon
url = https://github.com/CollapseLauncher/Hi3Helper.Sophon
[submodule "ImageEx"]
path = ImageEx
url = https://github.com/CollapseLauncher/ImageEx
[submodule "SevenZipExtractor"]
path = SevenZipExtractor
url = https://github.com/CollapseLauncher/SevenZipExtractor
[submodule "H.NotifyIcon"]
path = H.NotifyIcon
url = https://github.com/CollapseLauncher/H.NotifyIcon

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/.idea.CollapseLauncher/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Backup/CommunityToolkit.WinUI.Controls.ImageCropper.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />

<PropertyGroup>
<ToolkitComponentName>ImageCropper</ToolkitComponentName>
<Description>The ImageCropper control allows the user to freely crop an image.</Description>

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.ImageCropperRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30"/>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
</Project>
38 changes: 38 additions & 0 deletions Backup/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

# Windows Community Toolkit - ImageCropper

This package is part of the [Windows Community Toolkit](https://aka.ms/toolkit/windows) from the [.NET Foundation](https://dotnetfoundation.org).

## Package Contents

This package contains the following controls in the `CommunityToolkit.WinUI.Controls` namespace:

- ImageCropper

## Which Package is for me?

If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.ImageCropper` package.

If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.ImageCropper` package.

## WinUI Resources (UWP)

For UWP projects, the WinUI 2 reference requires you include the WinUI XAML Resources in your App.xaml file:

```xml
<Application.Resources>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</Application.Resources>
```

See [Getting Started in WinUI 2](https://learn.microsoft.com/windows/apps/winui/winui2/getting-started) for more information.

## Documentation

Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs

## License

MIT

See License.md in package for more details.
8 changes: 8 additions & 0 deletions ClearCache.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ echo Clearing Collapse cache
rmdir /S /Q CollapseLauncher\bin && rmdir /S /Q CollapseLauncher\obj
echo Clearing ColorThief cache
rmdir /S /Q ColorThief\ColorThief\bin && rmdir /S /Q ColorThief\ColorThief\obj
echo Clearing CommunityToolkit.ImageCropper cache
rmdir /S /Q Hi3Helper.CommunityToolkit\ImageCropper\bin && rmdir /S /Q Hi3Helper.CommunityToolkit\ImageCropper\obj
echo Clearing CommunityToolkit.SettingsControls cache
rmdir /S /Q Hi3Helper.CommunityToolkit\SettingsControls\bin && rmdir /S /Q Hi3Helper.CommunityToolkit\SettingsControls\obj
echo Clearing Core cache
rmdir /S /Q Hi3Helper.Core\bin && rmdir /S /Q Hi3Helper.Core\obj
echo Clearing EncTool cache
Expand All @@ -13,12 +17,16 @@ echo Clearing Http cache
rmdir /S /Q Hi3Helper.Http\bin && rmdir /S /Q Hi3Helper.Http\obj
echo Clearing Http tester cache
rmdir /S /Q Hi3Helper.Http\Test\bin && rmdir /S /Q Hi3Helper.Http\Test\obj
echo Clearing TaskScheduler cache
rmdir /S /Q Hi3Helper.TaskScheduler\bin && rmdir /S /Q Hi3Helper.TaskScheduler\obj
echo Clearing HDiff cache
rmdir /S /Q Hi3Helper.SharpHDiffPatch\Hi3Helper.SharpHDiffPatch\bin && rmdir /S /Q Hi3Helper.SharpHDiffPatch\Hi3Helper.SharpHDiffPatch\obj
echo Clearing 2nd HDiff cache
rmdir /S /Q Hi3Helper.SharpHDiffPatch\SharpHDiffPatch\bin && rmdir /S /Q Hi3Helper.SharpHDiffPatch\SharpHDiffPatch\obj
echo Clearing InnoSetupHelper cache
rmdir /S /Q InnoSetupHelper\bin && rmdir /S /Q InnoSetupHelper\obj
echo Clearing ImageEx cache
rmdir /S /Q ImageEx\ImageEx\bin && rmdir /S /Q ImageEx\ImageEx\obj
echo Clearing 7z cache
rmdir /S /Q Hi3Helper.Core\Classes\Data\Tools\SevenZipTool\SevenZipExtractor\SevenZipExtractor\bin && rmdir /S /Q Hi3Helper.Core\Classes\Data\Tools\SevenZipTool\SevenZipExtractor\SevenZipExtractor\obj
echo Clearing SharpDiscordRPC cache
Expand Down
56 changes: 55 additions & 1 deletion CollapseLauncher.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,28 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ColorThief", "ColorThief\Co
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hi3Helper.EncTool.Test", "Hi3Helper.EncTool.Test\Hi3Helper.EncTool.Test.csproj", "{1BAB5CE4-640E-41A7-B529-4842D378BD4C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SevenZipExtractor", "Hi3Helper.Core\Classes\Data\Tools\SevenZipTool\SevenZipExtractor\SevenZipExtractor\SevenZipExtractor.csproj", "{D145686A-C0AA-4164-9854-A8942CB1DFDE}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SevenZipExtractor", "SevenZipExtractor\SevenZipExtractor\SevenZipExtractor.csproj", "{D145686A-C0AA-4164-9854-A8942CB1DFDE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InnoSetupHelper", "InnoSetupHelper\InnoSetupHelper.csproj", "{21691306-8D30-4993-98A2-A5AE0712D81A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DiscordRPC", "Hi3Helper.SharpDiscordRPC\DiscordRPC\DiscordRPC.csproj", "{2004AA88-FFC3-4186-B11A-3E4C577A3D25}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hi3Helper.Sophon", "Hi3Helper.Sophon\Hi3Helper.Sophon.csproj", "{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageEx", "ImageEx\ImageEx\ImageEx.csproj", "{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hi3Helper.TaskScheduler", "Hi3Helper.TaskScheduler\Hi3Helper.TaskScheduler.csproj", "{C9CBAF52-49C7-4B72-A03B-130F596E24CB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hi3Helper.CommunityToolkit.WinUI.Controls.ImageCropper", "Hi3Helper.CommunityToolkit\ImageCropper\Hi3Helper.CommunityToolkit.WinUI.Controls.ImageCropper.csproj", "{558A1D17-BEB4-49DF-A200-15ABE283BDED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hi3Helper.CommunityToolkit.WinUI.Controls.SettingsControls", "Hi3Helper.CommunityToolkit\SettingsControls\Hi3Helper.CommunityToolkit.WinUI.Controls.SettingsControls.csproj", "{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "H.NotifyIcon.WinUI", "H.NotifyIcon\src\libs\H.NotifyIcon.WinUI\H.NotifyIcon.WinUI.csproj", "{141083CC-A924-4E19-904C-AF91361405A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "H.NotifyIcon", "H.NotifyIcon\src\libs\H.NotifyIcon\H.NotifyIcon.csproj", "{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "H.GeneratedIcons.System.Drawing", "H.NotifyIcon\src\libs\H.GeneratedIcons.System.Drawing\H.GeneratedIcons.System.Drawing.csproj", "{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Expand Down Expand Up @@ -88,6 +102,46 @@ Global
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Publish|x64.Build.0 = Release|x64
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Release|x64.ActiveCfg = Release|x64
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Release|x64.Build.0 = Release|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Debug|x64.ActiveCfg = Debug|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Debug|x64.Build.0 = Debug|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Publish|x64.ActiveCfg = Release|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Publish|x64.Build.0 = Release|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Release|x64.ActiveCfg = Release|x64
{A6AF9DE9-1A18-4C2D-B106-B68A0A7CD07D}.Release|x64.Build.0 = Release|x64
{C9CBAF52-49C7-4B72-A03B-130F596E24CB}.Debug|x64.ActiveCfg = Debug|x64
{C9CBAF52-49C7-4B72-A03B-130F596E24CB}.Debug|x64.Build.0 = Debug|x64
{C9CBAF52-49C7-4B72-A03B-130F596E24CB}.Publish|x64.ActiveCfg = Release|x64
{C9CBAF52-49C7-4B72-A03B-130F596E24CB}.Release|x64.ActiveCfg = Release|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Debug|x64.ActiveCfg = Debug|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Debug|x64.Build.0 = Debug|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Publish|x64.ActiveCfg = Release|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Publish|x64.Build.0 = Release|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Release|x64.ActiveCfg = Release|x64
{558A1D17-BEB4-49DF-A200-15ABE283BDED}.Release|x64.Build.0 = Release|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Debug|x64.ActiveCfg = Debug|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Debug|x64.Build.0 = Debug|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Publish|x64.ActiveCfg = Release|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Publish|x64.Build.0 = Release|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Release|x64.ActiveCfg = Release|x64
{5A1243EC-EFD9-4B55-8F29-D1A91A9B027D}.Release|x64.Build.0 = Release|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Debug|x64.ActiveCfg = Debug|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Debug|x64.Build.0 = Debug|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Publish|x64.ActiveCfg = Release|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Publish|x64.Build.0 = Release|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Release|x64.ActiveCfg = Release|x64
{141083CC-A924-4E19-904C-AF91361405A5}.Release|x64.Build.0 = Release|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Debug|x64.ActiveCfg = Debug|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Debug|x64.Build.0 = Debug|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Publish|x64.ActiveCfg = Release|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Publish|x64.Build.0 = Release|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Release|x64.ActiveCfg = Release|x64
{6C8A25FA-BA1C-4EE4-8A9D-2FB4918077FB}.Release|x64.Build.0 = Release|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Debug|x64.ActiveCfg = Debug|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Debug|x64.Build.0 = Debug|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Publish|x64.ActiveCfg = Release|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Publish|x64.Build.0 = Release|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Release|x64.ActiveCfg = Release|x64
{911C98FD-C64D-4BAC-8EF5-0616F8EFF7B9}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
7 changes: 7 additions & 0 deletions CollapseLauncher.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=CDNURL/@EntryIndexedValue">CDNURL</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=FX/@EntryIndexedValue">FX</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=FXAA/@EntryIndexedValue">FXAA</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GLC/@EntryIndexedValue">GLC</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=HD/@EntryIndexedValue">HD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=HDR/@EntryIndexedValue">HDR</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ID/@EntryIndexedValue">ID</s:String>
Expand All @@ -68,6 +69,12 @@
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpUseContinuousIndentInsideBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=chkdsk/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=her_0027s/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=honkai/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=predown/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=prio/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Shcore/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=yoverse/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=zenless/@EntryIndexedValue">True</s:Boolean>
</wpf:ResourceDictionary>
Loading
Loading