Skip to content

Fix circomlib symlink on windows #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 20 commits into from
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b446257
fix rand-core issue; fix type issue in verifier and client_helper;
ljoy913 Feb 27, 2025
204a343
Remove cargo.lock from creds
ljoy913 Feb 27, 2025
f8364e2
Delete Cargo.lock
ljoy913 Feb 27, 2025
c8d2e87
Make circom optional; add wasm feature; wasm showproof entry
ljoy913 Feb 28, 2025
ea28ac2
Merge remote-tracking branch 'origin/fix_rand-core_build_errors' into…
ljoy913 Feb 28, 2025
62bbef9
Merge remote-tracking branch 'origin' into wasm-show-proof
ljoy913 Feb 28, 2025
85e0dc7
Update client to build wasm at setup
ljoy913 Mar 5, 2025
66da34c
Update sample setup
ljoy913 Mar 5, 2025
de3fe0b
Update sample setup
ljoy913 Mar 5, 2025
a24a5da
Merge branch 'wasm-show-proof' of https://github.com/microsoft/cresce…
ljoy913 Mar 5, 2025
b07535f
Restored circuit_setup/circuits-mdl/circomlib from main
ljoy913 Mar 6, 2025
0dce6c6
Fix progrss bar; fix mdl challenge param; fix missing proof_spec
ljoy913 Mar 6, 2025
76a7212
add +x to client setup script
ljoy913 Mar 6, 2025
3d00b16
clean up cred toml
ljoy913 Mar 6, 2025
460eb82
Merge branch 'wasm-show-proof' of https://github.com/microsoft/cresce…
ljoy913 Mar 6, 2025
a2d6816
move wasm to own file; make seconds util function;
ljoy913 Mar 13, 2025
08832db
rename js function; organize imports;
ljoy913 Mar 13, 2025
191bb41
Update firefox manifest for wasm
ljoy913 Mar 13, 2025
e7bdf65
Merge branch 'main' of https://github.com/microsoft/crescent-credenti…
ljoy913 Mar 13, 2025
e331914
Use junction instead of symlink for mdl circomlib on Windows;
ljoy913 Mar 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions circuit_setup/scripts/run_setup.sh
Original file line number Diff line number Diff line change
@@ -49,6 +49,11 @@ else
CIRCOM_SRC_DIR="${ROOT_DIR}/circuits"
fi

# Replace symlink with junction if on Windows
if [ -f "${CIRCOM_SRC_DIR}/circomlib" ]; then
rm -f "${CIRCOM_SRC_DIR}/circomlib"
cmd //c "mklink /J ${CIRCOM_SRC_DIR##*/}\circomlib circuits\circomlib"
fi

# Create the output directory if not there.
mkdir $OUTPUTS_DIR 2>/dev/null || true