Skip to content

Commit

Permalink
Fix some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Dec 11, 2024
1 parent ceabdc7 commit 4422c40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ jobs:
- name: Fix HOME path
run: echo "HOME=/root" >> $GITHUB_ENV

- name: Print NDK_TOOLCHAIN_DIR
run: echo $NDK_TOOLCHAIN_DIR
- name: Print NDK_PROPERTIES
run: cat $ANDROID_NDK_HOME/source.properties

- name: Get date
id: get-date
Expand Down
1 change: 0 additions & 1 deletion android/build-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BUILD_BUNDLE="no"
BUNDLE_TASKS=(createPlayProdReleaseDistBundle)
RUN_PLAY_PUBLISH_TASKS="no"
PLAY_PUBLISH_TASKS=()
SKIP_STRIPPING=${SKIP_STRIPPING:-"no"}

while [ -n "${1:-""}" ]; do
if [[ "${1:-""}" == "--dev-build" ]]; then
Expand Down
7 changes: 4 additions & 3 deletions wireguard-go-rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,14 @@ fn android_move_binary(binary: &Path, output: &Path) -> anyhow::Result<()> {
))?;
std::fs::create_dir_all(parent_of_output)?;

let mut move_command = Command::new("cp");
move_command
let mut copy_command = Command::new("cp");
// P command is required to not rebuild this module everytime
copy_command
.arg("-p")
.arg(binary.to_str().unwrap())
.arg(output.to_str().unwrap());

exec(&mut move_command)?;
exec(&mut copy_command)?;

Ok(())
}
Expand Down

0 comments on commit 4422c40

Please sign in to comment.