Skip to content

Commit

Permalink
fix: add cover and change url
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Zhu03 committed Dec 6, 2023
1 parent 56ce52e commit a9c2d5d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
Binary file modified generals/Build/generalTemplate.data
Binary file not shown.
Binary file removed generals/Build/generalTemplate.data.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion generals/Build/generalTemplate.framework.js

Large diffs are not rendered by default.

Binary file removed generals/Build/generalTemplate.framework.js.gz
Binary file not shown.
Binary file modified generals/Build/generalTemplate.wasm
Binary file not shown.
Binary file removed generals/Build/generalTemplate.wasm.gz
Binary file not shown.
Binary file added generals/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 8 additions & 9 deletions generals/player.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | Ant_Player</title>
<!--prefix: https://player.dev.saiblo.net/2023TEST/-->
<link rel="shortcut icon" href="https://game.cdn.saiblo.net/antwar/TemplateData/favicon.ico">
<link rel="stylesheet" href="https://game.cdn.saiblo.net/antwar/TemplateData/style.css">
<link rel="shortcut icon" href="https://game.cdn.saiblo.net/generals/TemplateData/favicon.ico">
<link rel="stylesheet" href="https://game.cdn.saiblo.net/generals/TemplateData/style.css">
</head>
<body>
<div id="unity-container" class="unity-desktop">
Expand All @@ -28,16 +28,15 @@
</div>

<script>
var buildUrl = "https://game.cdn.saiblo.net/antwar/Build";
var loaderUrl = buildUrl + "/dist.loader.js";
var buildUrl = "https://game.cdn.saiblo.net/generals/Build";
var loaderUrl = buildUrl + "/generalTemplate.loader.js";
var config = {
dataUrl: buildUrl + "/dist.data",
frameworkUrl: buildUrl + "/dist.framework.js",
codeUrl: buildUrl + "/dist.wasm",
symbolsUrl: buildUrl + "/dist.symbols.json",
dataUrl: buildUrl + "/generalTemplate.data",
frameworkUrl: buildUrl + "/generalTemplate.framework.js",
codeUrl: buildUrl + "/generalTemplate.wasm",
streamingAssetsUrl: "StreamingAssets",
companyName: "DefaultCompany",
productName: "Ant_Player",
productName: "Generals_Player",
productVersion: "1.0",
matchWebGLToCanvasSize: false,
};
Expand Down

0 comments on commit a9c2d5d

Please sign in to comment.