Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
0d02da1b
Commit
0d02da1b
authored
Apr 30, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
低安卓版本改为copyFile
parent
5e5c45b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
+1
-1
mobile/src/main/java/ocgcore/StringManager.java
mobile/src/main/java/ocgcore/StringManager.java
+1
-1
No files found.
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
View file @
0d02da1b
...
@@ -131,7 +131,7 @@ public class GameUriManager {
...
@@ -131,7 +131,7 @@ public class GameUriManager {
activity
.
startActivity
(
startdeck
);
activity
.
startActivity
(
startdeck
);
}
else
if
(
file
.
getName
().
toLowerCase
(
Locale
.
US
).
endsWith
(
".ypk"
))
{
}
else
if
(
file
.
getName
().
toLowerCase
(
Locale
.
US
).
endsWith
(
".ypk"
))
{
try
{
try
{
FileUtils
.
moveFile
(
file
.
getAbsolutePath
(),
AppsSettings
.
get
().
getExpansionsPath
().
toString
(),
fals
e
);
FileUtils
.
copyDir
(
file
.
getAbsolutePath
(),
AppsSettings
.
get
().
getExpansionsPath
().
toString
(),
tru
e
);
if
(!
AppsSettings
.
get
().
isReadExpansions
())
{
if
(!
AppsSettings
.
get
().
isReadExpansions
())
{
activity
.
startActivity
(
startSeting
);
activity
.
startActivity
(
startSeting
);
Toast
.
makeText
(
activity
,
R
.
string
.
ypk_go_setting
,
Toast
.
LENGTH_LONG
).
show
();
Toast
.
makeText
(
activity
,
R
.
string
.
ypk_go_setting
,
Toast
.
LENGTH_LONG
).
show
();
...
...
mobile/src/main/java/ocgcore/StringManager.java
View file @
0d02da1b
...
@@ -83,7 +83,7 @@ public class StringManager implements Closeable {
...
@@ -83,7 +83,7 @@ public class StringManager implements Closeable {
if
(
line
.
startsWith
(
"#"
)
||
(!
line
.
startsWith
(
PRE_SYSTEM
)
&&
!
line
.
startsWith
(
PRE_SETNAME
)))
{
if
(
line
.
startsWith
(
"#"
)
||
(!
line
.
startsWith
(
PRE_SYSTEM
)
&&
!
line
.
startsWith
(
PRE_SETNAME
)))
{
continue
;
continue
;
}
}
String
[]
words
=
line
.
split
(
"[\t
|
]+"
);
String
[]
words
=
line
.
split
(
"[\t ]+"
);
//
//
if
(
words
.
length
>=
3
)
{
if
(
words
.
length
>=
3
)
{
if
(
PRE_SETNAME
.
equals
(
words
[
0
]))
{
if
(
PRE_SETNAME
.
equals
(
words
[
0
]))
{
...
...
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