Skip to content

Commit

Permalink
Fix a couple of problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lyons committed Apr 29, 2022
1 parent 2f7b7dc commit 0483442
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ copy_dependencies $BINARY $BINARY
echo "Copying standard library..."
cp -ar "$RUBY_LIB_DIR/$RUBY_VER.0" "$DESTDIR/ruby"
echo "Downloading cacert.pem..."
curl -o "$DESTDIR/cacert.pem" https://curl.haxx.se/ca/cacert.pem
curl -o "$DESTDIR/cacert.pem" https://curl.se/ca/cacert.pem
echo "Sym-linking modshot..."
ln -sf "$DESTDIR/lmodshot" $BINARY
echo "Done!"
2 changes: 1 addition & 1 deletion windows/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copy_dependencies $BINARY $BINARY
echo "Copying standard library..."
cp -ar "$RUBY_LIB_DIR/$RUBY_VER.0" "$DESTDIR/ruby"
echo "Downloading cacert.pem..."
curl -o "$DESTDIR/cacert.pem" https://curl.haxx.se/ca/cacert.pem
curl -o "$DESTDIR/cacert.pem" https://curl.se/ca/cacert.pem
echo "Moving shim..."
cp $SHIM_BINARY "$DESTDIR/../$BINARY"
echo "Done!"
2 changes: 1 addition & 1 deletion windows/shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int WINAPI WinMain(HINSTANCE hInstance,
argv[0] = ARGV0;
}

_wexecv(L"lib\\oneshot.exe", argv);
_wexecv(L"lib\\modshot.exe", argv);
MessageBoxW(NULL,
L"Cannot start ModShot for some reason.\nPlease check your ModShot installation.",
L"ModShot Shim",
Expand Down

0 comments on commit 0483442

Please sign in to comment.