Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
6fb5e66b
Commit
6fb5e66b
authored
Sep 30, 2022
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制卡包前先清空pack文件夹
新旧卡包展示模式过渡
parent
24b73cb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+5
-0
No files found.
mobile/build.gradle
View file @
6fb5e66b
...
...
@@ -9,7 +9,7 @@ android {
minSdkVersion
21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion
29
versionCode
31003092
3
versionCode
31003092
4
versionName
"3.10.3"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
6fb5e66b
...
...
@@ -228,6 +228,11 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
mSettings
.
getDeckDir
(),
needsUpdate
);
}
//复制卡包
File
pack
=
new
File
(
mSettings
.
get
().
getPackDeckDir
());
File
[]
subYdks
=
pack
.
listFiles
();
for
(
File
packs
:
subYdks
)
{
packs
.
delete
();
}
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_PACK_PATH
),
mSettings
.
get
().
getPackDeckDir
(),
needsUpdate
);
//复制残局
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment