Skip to content

Commit

Permalink
add ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Aug 12, 2022
1 parent bf027e5 commit 73889e7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion daemon/crypto/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ constexpr auto DEFAULT_ROUND_DELAY_SECONDS = 60;
constexpr auto DEFAULT_SERVER_ADDRESS = "server1.anysphere.co:443";

// this commit hash will be automatically updated by gui/package.json.
constexpr auto RELEASE_COMMIT_HASH = "cc82ac0e0711d411387d59c98a5deb9adeca155d";
constexpr auto RELEASE_COMMIT_HASH = "bf027e552c8103a83e8c1f206c4acbbd616ec120";

// this is the number of friends that will be received from in each round
// (ideally, they can all be received in a single PIR request using batch PIR)
Expand Down
14 changes: 7 additions & 7 deletions gui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"package-prepare-mac-x86_64": "npm run build-binaries-mac-x86_64 && npm run clean-build && npm run build",
"package-prepare-mac": "npm run build-binaries-mac && npm run clean-build && npm run build",
"package-prepare-linux": "npm run build-binaries-linux && npm run clean-build && npm run build",
"general-prepackage": "sed -i '' \"s/RELEASE_COMMIT_HASH.*/RELEASE_COMMIT_HASH = \\\"$(git rev-parse HEAD)\\\";/g\" ../daemon/crypto/constants.hpp src/main/constants.ts",
"general-prepackage": "sed -i'' \"s/RELEASE_COMMIT_HASH.*/RELEASE_COMMIT_HASH = \\\"$(git rev-parse HEAD)\\\";/g\" ../daemon/crypto/constants.hpp src/main/constants.ts",
"package-mac-arm64": "npm run general-prepackage && npm run package-prepare-mac-arm64 && MAC_ARCH=arm64 ts-node ./helpers/scripts/package-mac-dmg.ts",
"package-mac-x86_64": "npm run general-prepackage && npm run package-prepare-mac-x86_64 && MAC_ARCH=x64 ts-node ./helpers/scripts/package-mac-dmg.ts",
"package-mac": "npm run general-prepackage && npm run package-prepare-mac && MAC_ARCH=both ts-node ./helpers/scripts/package-mac-dmg.ts",
Expand Down Expand Up @@ -83,7 +83,7 @@
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.13",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.65.0",
Expand Down
2 changes: 1 addition & 1 deletion gui/src/main/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { exit } from "process";
import path from "path";

// this commit hash will be automatically updated by gui/package.json.
export const RELEASE_COMMIT_HASH = "cc82ac0e0711d411387d59c98a5deb9adeca155d";
export const RELEASE_COMMIT_HASH = "bf027e552c8103a83e8c1f206c4acbbd616ec120";

export const PLIST_PATH = (): string => {
if (process.platform === "darwin" && process.env["HOME"] != null) {
Expand Down

0 comments on commit 73889e7

Please sign in to comment.