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

Development for 1.12.5 #2262

Merged
merged 76 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
c5121f7
Restrict Game Path Access
Lightczx Nov 25, 2024
a49a203
disposable scope
qhy040404 Nov 25, 2024
de9dec9
fix fast close on check update
qhy040404 Nov 25, 2024
06a3886
code style
Lightczx Nov 25, 2024
f7f8ac3
drop OrTools
qhy040404 Nov 26, 2024
951b15c
refine ini serialization
Lightczx Nov 26, 2024
b5c6d29
refactor
Lightczx Nov 26, 2024
17bb3e8
refactor 2
Lightczx Nov 26, 2024
9d38f73
Merge pull request #2239 from DGP-Studio/feat/RestrictedGamePathAccess
Lightczx Nov 26, 2024
29c9def
magic theme
qhy040404 Nov 26, 2024
ce24384
code style
qhy040404 Nov 26, 2024
9ee0c12
UnsafeAdjustRequestedThemeSettable
Lightczx Nov 26, 2024
b134d68
Merge pull request #2242 from DGP-Studio/cleanup
Lightczx Nov 26, 2024
bbcc527
impl https://git.snapgenshin.com/DGP-Studio/Feedback/issues/65
qhy040404 Nov 24, 2024
952fdb2
use onetime
qhy040404 Nov 25, 2024
4a3a024
refine UI
Lightczx Nov 26, 2024
69ffcd5
Merge pull request #2231 from DGP-Studio/feat/qa65
Lightczx Nov 26, 2024
f541c01
refactor dbstoreoptions
Lightczx Nov 27, 2024
4d59e12
fix #2240
Lightczx Nov 27, 2024
a9a4e2f
adopt FrameworkTheming
Lightczx Nov 28, 2024
75b9747
fix background not change when theme changed
Lightczx Nov 28, 2024
5f7a9a9
fix #2251
qhy040404 Nov 29, 2024
c3b694c
fix server conversion error
Lightczx Nov 29, 2024
d66398d
fix #2252
qhy040404 Nov 29, 2024
9275ebb
code style
Lightczx Nov 29, 2024
b268861
fix server conversion error again
qhy040404 Nov 29, 2024
0fd11e3
reject if install path is not empty
qhy040404 Nov 29, 2024
14ce117
single account by name
qhy040404 Nov 29, 2024
23ac4cf
custom aspect ratio
qhy040404 Nov 26, 2024
72d3455
Merge branch 'main' into develop
qhy040404 Nov 29, 2024
d0d7789
fix https://git.snapgenshin.com/DGP-Studio/Feedback/issues/76
qhy040404 Nov 30, 2024
1a009ff
add countdown up times
qhy040404 Nov 30, 2024
dfc0868
set theme of content dialog explicitly to ensure the style
qhy040404 Nov 30, 2024
2099e8d
code style
qhy040404 Nov 30, 2024
f874d2a
add dark only overlay to countdown
qhy040404 Nov 30, 2024
55ff874
[skip ci] debug only design tool
qhy040404 Nov 30, 2024
a6b50bc
remove unused files when packing
qhy040404 Nov 30, 2024
0840b86
cleanup
qhy040404 Nov 30, 2024
ae7781e
buff wrap
qhy040404 Dec 1, 2024
2e6a227
remove avatar usage delta in role combat
qhy040404 Dec 1, 2024
5b2e215
code style
Lightczx Dec 1, 2024
a25bda9
code style
Lightczx Dec 1, 2024
249fa85
Merge pull request #2246 from DGP-Studio/feat/custom_aspect
Lightczx Dec 1, 2024
61561fa
remove unused resource
qhy040404 Dec 2, 2024
8548296
[skip ci] refactor .editorconfig
qhy040404 Dec 2, 2024
f49470a
remove unnecessary suppress
qhy040404 Dec 2, 2024
b858ada
resin predict prototype
qhy040404 Nov 28, 2024
1ea8a14
ignore Crown of Insight
qhy040404 Nov 28, 2024
31fc222
check null
qhy040404 Nov 28, 2024
5ebde37
inventory combine
qhy040404 Nov 29, 2024
dd3aba1
fix flyout wrong data
qhy040404 Nov 30, 2024
2e5d298
fix https://git.snapgenshin.com/DGP-Studio/Feedback/issues/79
qhy040404 Dec 1, 2024
d11a65b
fix combine logic
qhy040404 Dec 1, 2024
69c9b86
extract calculate function
qhy040404 Dec 1, 2024
ad9e89e
code style
Lightczx Dec 1, 2024
1a6ca31
code style
Lightczx Dec 2, 2024
ce56ef9
Update .editorconfig
Lightczx Dec 2, 2024
1aeebc4
Merge pull request #2253 from DGP-Studio/feat/resin_predict
Lightczx Dec 2, 2024
c4dd299
editorconfig VS compat
Lightczx Dec 2, 2024
4639cf8
[skip ci] skip canary if only l10n is in pr
qhy040404 Dec 2, 2024
51077a6
[skip ci] fix action if
qhy040404 Dec 2, 2024
b2bfed0
fix https://git.snapgenshin.com/DGP-Studio/Feedback/issues/81
Lightczx Dec 2, 2024
0acdd8e
patch endpoint
Lightczx Dec 2, 2024
99fefe5
fix cultivation save consumption overwriteexisting
Lightczx Dec 2, 2024
14d2f4b
fix #2258
Lightczx Dec 2, 2024
9411493
calculate misc mora earned
qhy040404 Dec 3, 2024
303468d
adjust description
qhy040404 Dec 3, 2024
4ec3ad2
data row
Lightczx Dec 3, 2024
8e01c65
datarowstackpanel
Lightczx Dec 3, 2024
1d0dd3c
[skip ci] datatable
Lightczx Dec 3, 2024
6d712d9
datatable fine tuning
Lightczx Dec 4, 2024
1df40e4
remove BOM 1
Lightczx Dec 4, 2024
5decb0c
remove BOM
Lightczx Dec 4, 2024
1d283b0
datatable fine tuning 2
Lightczx Dec 4, 2024
252cea0
bump version
Lightczx Dec 4, 2024
07e595b
New Crowdin updates (#2238)
Masterain98 Dec 4, 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
  •  
  •  
  •  
20 changes: 17 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
workflow_dispatch:
push:
branches-ignore:
- develop
- l10n_develop
- main
- release
Expand All @@ -28,24 +27,38 @@ jobs:
fetch-depth: 0

- name: Merge all branches into develop locally
id: merge
run: |
$continue = $true

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin '+refs/heads/*:refs/remotes/origin/*'
git checkout origin/develop
$response = curl -s https://api.github.com/repos/DGP-Studio/Snap.Hutao/pulls?state=open
$refs = $response | ConvertFrom-Json | Where-Object { $_.draft -eq $false } | ForEach-Object { $_.head.ref }
if ($refs.Count -eq 1 -and $refs -eq "l10n_develop") {
echo "No PRs to merge"
$continue = $false
echo "continue=$continue" >> $Env:GITHUB_OUTPUT
exit
}

foreach ($ref in $refs) {
echo "Merging $ref into develop"
git merge "origin/$ref" --strategy=ort --allow-unrelated-histories -m "Merge $ref into develop"
}

echo "continue=$continue" >> $Env:GITHUB_OUTPUT

- name: Setup .NET
if: ${{ steps.merge.outputs.continue == 'true' }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0

- name: Cache NuGet packages
if: ${{ steps.merge.outputs.continue == 'true' }}
uses: actions/cache@v4
with:
path: ~/.nuget/packages
Expand All @@ -54,6 +67,7 @@ jobs:
${{ runner.os }}-nuget-

- name: Cake
if: ${{ steps.merge.outputs.continue == 'true' }}
id: cake
shell: pwsh
run: dotnet tool restore && dotnet cake
Expand All @@ -62,14 +76,14 @@ jobs:
PW: ${{ secrets.PW }}

- name: Upload signed msix
if: success()
if: ${{ success() && steps.merge.outputs.continue == 'true' }}
uses: actions/upload-artifact@v4
with:
name: Snap.Hutao.Canary-${{ steps.cake.outputs.version }}
path: ${{ github.workspace }}/src/output/Snap.Hutao.Canary-${{ steps.cake.outputs.version }}.msix

- name: Add summary
if: success()
if: ${{ success() && steps.merge.outputs.continue == 'true' }}
shell: pwsh
run: |
$summary = "
Expand Down
17 changes: 17 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Information($"Windows SDK: {winsdkPath}");
Task("Build")
.IsDependentOn("Build binary package")
.IsDependentOn("Copy files")
.IsDependentOn("Remove unused files")
.IsDependentOn("Build MSIX")
.IsDependentOn("Sign");

Expand Down Expand Up @@ -235,9 +236,25 @@ Task("Copy files")
);
});

Task("Remove unused files")
.IsDependentOn("Build binary package")
.Does(() =>
{
Information("Removing unused files...");

Information("Removing xbf...");
System.IO.Directory.Delete(System.IO.Path.Combine(binPath, "Service"), true);
System.IO.Directory.Delete(System.IO.Path.Combine(binPath, "UI"), true);
System.IO.File.Delete(System.IO.Path.Combine(binPath, "App.xbf"));

Information("Removing appxrecipe...");
System.IO.File.Delete(System.IO.Path.Combine(binPath, "Snap.Hutao.build.appxrecipe"));
});

Task("Build MSIX")
.IsDependentOn("Build binary package")
.IsDependentOn("Copy files")
.IsDependentOn("Remove unused files")
.Does(() =>
{
var arguments = "arguments";
Expand Down
Loading
Loading