Skip to content

Commit

Permalink
Turn to absolute path
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kovalkov <kovalkov.dmitriy@gmail.com>
  • Loading branch information
unreturned committed Dec 23, 2023
1 parent fe69a54 commit 2065cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron/routing_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ async function installLinuxRoutingServices(): Promise<void> {
command +=
' && ' +
installationFileDescriptors
.map(({filename, sha256}) => `/usr/bin/echo "${sha256} ${path.join(tmp, filename)}" | $(which shasum) -a 256 -c`)
.map(({filename, sha256}) => `/usr/bin/echo "${sha256} ${path.join(tmp, filename)}" | (/usr/bin/shasum -a 256 -c || /usr/bin/core_perl/shasum -a 256 -c)`)
.join(' && ');
command += ` && "${path.join(tmp, LINUX_INSTALLER_FILENAME)}" "${userInfo().username}"`;

Expand Down

0 comments on commit 2065cac

Please sign in to comment.