Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Feb 21, 2024
1 parent 14d1d61 commit 4d16358
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aurora-launcher/server",
"version": "0.0.4-rc.5",
"version": "0.0.4-rc.6",
"branch": "dev",
"description": "LauncherServer for AuroraLauncher",
"keywords": [
Expand Down
10 changes: 5 additions & 5 deletions packages/server/src/components/update/UpdateManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ export class UpdateManager {
darwin: "binary-mac",
linux: "binary-linux",
};
private readonly fileNameMap: Record<string, string> = {
win32: "LauncherServer.exe",
darwin: "LauncherServer-mac",
linux: "LauncherServer-linux",
private readonly fileOsMap: Record<string, string> = {
win32: "win.exe",
darwin: "mac",
linux: "linux",
};
private readonly fileType: string = SystemHelper.isStandalone()
? this.fileTypeMap[SystemHelper.getPlatform()]
: "js";
private readonly execFileName: string = SystemHelper.isStandalone()
? this.fileNameMap[SystemHelper.getPlatform()]
? `LauncherServer-${this.fileOsMap[SystemHelper.getPlatform()]}`
: "LauncherServer.js";

constructor(
Expand Down

0 comments on commit 4d16358

Please sign in to comment.