Skip to content

Commit

Permalink
bump version to 2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HoraceHuang-ui committed Oct 12, 2023
1 parent 64ec4b1 commit 950e844
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,15 @@ async function createWindow() {
const { Octokit } = require("@octokit/core")
const octokit = new Octokit({
// gh-upd-test
auth: "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"
auth: "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"
})
ipcMain.handle("github:getLatestRelease", async (_event) => {
const result = await octokit.request("GET /repos/horacehuang-ui/mihoyo-mixed-launcher/releases/latest", {
owner: "HoraceHuang-ui",
repo: "MiHOYO-MiXED-Launcher"
repo: "MiHOYO-MiXED-Launcher",
headers: {
'X-GitHub-Api-Version': '2022-11-28'
}
})
return result
})
Expand Down
6 changes: 3 additions & 3 deletions electron/preload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ function useLoading() {
// oDiv.className = "app-loading-wrap";
// oDiv.innerHTML = `<div class="${className}"><div></div></div>`;

const className = "loaders-css__klee-loading";
// const className = "loaders-css__klee-loading";
const styleContent = `
.${className} {
.klee-loading {
width: 120px;
height: 120px;
}
Expand Down Expand Up @@ -173,7 +173,7 @@ function useLoading() {
oStyle.innerHTML = styleContent;
oDiv.className = "app-loading-wrap";
oDiv.innerHTML = `<div class="font-genshin inner-wrapper">
<img class=${className} src="../../src/assets/kleeLoading.gif" />
<img class="klee-loading" src="../../src/assets/kleeLoading.gif" />
<div class="below-text">加载中…</div>
</div>`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miXeD",
"version": "2.3.2",
"version": "2.3.3",
"main": "dist-electron/main/index.js",
"description": "All-in-one MiHOYO game launcher",
"author": "HoraceHYY <[email protected]>",
Expand Down

0 comments on commit 950e844

Please sign in to comment.