Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
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
nanahira
ygopro2
Commits
33b1460c
Commit
33b1460c
authored
Apr 04, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
3ecb5415
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+4
-7
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/SibylSystem/Program.cs
View file @
33b1460c
...
...
@@ -321,7 +321,7 @@ public class Program : MonoBehaviour
byte
[]
bytes
=
www
.
bytes
;
ExtractZipFile
(
bytes
,
ANDROID_GAME_PATH
);
}
/* //选择性更新
if (!File.Exists(ANDROID_GAME_PATH + "updates/version2.2.2.txt"))
{
string filePath = Application.streamingAssetsPath + "/update.zip";
...
...
@@ -331,7 +331,7 @@ public class Program : MonoBehaviour
ExtractZipFile(bytes, ANDROID_GAME_PATH);
//File.Create(ANDROID_GAME_PATH + ".nomedia");
}
*/
Environment
.
CurrentDirectory
=
ANDROID_GAME_PATH
;
System
.
IO
.
Directory
.
SetCurrentDirectory
(
ANDROID_GAME_PATH
);
...
...
@@ -340,10 +340,7 @@ public class Program : MonoBehaviour
if
(!
File
.
Exists
(
GamePaths
+
"updates/version2.0.txt"
))
{
string
filePath
=
Application
.
streamingAssetsPath
+
"/ygopro2-data.zip"
;
var
www
=
new
WWW
(
filePath
);
while
(!
www
.
isDone
)
{
}
byte
[]
bytes
=
www
.
bytes
;
ExtractZipFile
(
System
.
IO
.
File
.
ReadAllBytes
(
bytes
),
GamePaths
);
ExtractZipFile
(
System
.
IO
.
File
.
ReadAllBytes
(
filePath
),
GamePaths
);
}
Environment
.
CurrentDirectory
=
GamePaths
;
System
.
IO
.
Directory
.
SetCurrentDirectory
(
GamePaths
);
...
...
@@ -445,7 +442,7 @@ public class Program : MonoBehaviour
* if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
* return true;
* } else {
* return
tru
e;
* return
fals
e;
* }
* }
*/
...
...
ProjectSettings/ProjectSettings.asset
View file @
33b1460c
...
...
@@ -123,7 +123,7 @@ PlayerSettings:
16:10:
1
16:9:
1
Others
:
1
bundleVersion
:
1.034.9 (Test 2.2.2
)
bundleVersion
:
2.2.2 (1.034.9
)
preloadedAssets
:
[]
metroInputSource
:
0
m_HolographicPauseOnTrackingLoss
:
1
...
...
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