Skip to content

Commit

Permalink
-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Nov 22, 2022
1 parent e7bce42 commit 1e0fce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ make clean
docker run -it --rm -v $(pwd):/workdir -e CROSS_TRIPLE=aarch64-linux-gnu multiarch/crossbuild make
mv joker _/joker_linux_arm64

make clean
docker run -it --rm -v $(pwd):/workdir -e CROSS_TRIPLE=x86_64-apple-darwin multiarch/crossbuild make
mv joker _/joker_darwin_amd64
# make clean
# docker run -it --rm -v $(pwd):/workdir -e CROSS_TRIPLE=x86_64-apple-darwin multiarch/crossbuild make
# mv joker _/joker_darwin_amd64

nami release github.com/txthinking/joker $1 _

Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ int main(int argc, char **argv)
for(int i=0; i<li; i++){
if(strcmp(cp[i], jp[j]) == 0){
printf("%s", lp[i]);
break;
cp[i][0] = '\0';
}
}
}
Expand Down

0 comments on commit 1e0fce5

Please sign in to comment.