Skip to content

Commit

Permalink
6.1.110
Browse files Browse the repository at this point in the history
🐞 修正
一些問題
  • Loading branch information
yayacat committed May 24, 2024
1 parent 61bbb5d commit 139c633
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 7 deletions.
12 changes: 8 additions & 4 deletions TREM.Electron/js/earthquake.js
Original file line number Diff line number Diff line change
Expand Up @@ -921,15 +921,19 @@ async function init() {

// Connect to server
try {
if (process.platform === "win32")
if (process.platform === "win32") {
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/winserver.jar"));
else if (process.platform === "darwin")
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/macosserver.jar"));
else if (process.platform === "linux")
} else if (process.platform === "darwin") {
if (process.arch === "x64")
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/macos_x64_server.jar"));
else if (process.arch === "arm64")
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/macos_arm64_server.jar"));
} else if (process.platform === "linux") {
if (process.arch === "x64")
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/linux_x64_server.jar"));
else if (process.arch === "arm64")
bytenode.runBytecodeFile(path.resolve(__dirname, "../js/linux_arm64_server.jar"));
}

$("#loading").text(TREM.Localization.getString("Application_Connecting"));
log("Trying to connect to the server...", 1, "ResourceLoader", "init");
Expand Down
Binary file added TREM.Electron/js/macos_arm64_client.jar
Binary file not shown.
Binary file added TREM.Electron/js/macos_arm64_client6.jar
Binary file not shown.
Binary file added TREM.Electron/js/macos_arm64_server.jar
Binary file not shown.
Binary file added TREM.Electron/js/macos_x64_client.jar
Binary file not shown.
Binary file added TREM.Electron/js/macos_x64_client6.jar
Binary file not shown.
Binary file added TREM.Electron/js/macos_x64_server.jar
Binary file not shown.
Binary file removed TREM.Electron/js/macosclient.jar
Binary file not shown.
Binary file removed TREM.Electron/js/macosclient6.jar
Binary file not shown.
Binary file removed TREM.Electron/js/macosserver.jar
Binary file not shown.
8 changes: 5 additions & 3 deletions TREM.Electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tremv",
"version": "6.1.109",
"version": "6.1.110",
"description": "Taiwan Real-time Earthquake Monitoring Variety ( 臺灣即時地震監測變體 )",
"main": "main.js",
"homepage": "https://exptech.com.tw/",
Expand All @@ -25,13 +25,15 @@
{
"target": "dmg",
"arch": [
"x64"
"x64",
"arm64"
]
},
{
"target": "pkg",
"arch": [
"x64"
"x64",
"arm64"
]
}
]
Expand Down

0 comments on commit 139c633

Please sign in to comment.