mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-22 06:49:08 +00:00
tst (#99)
This commit is contained in:
parent
7e7aadb04b
commit
fb7b6862e5
2 changed files with 4 additions and 1 deletions
3
.github/workflows/publish-exe.yml
vendored
3
.github/workflows/publish-exe.yml
vendored
|
@ -69,6 +69,9 @@ jobs:
|
||||||
powershell Compress-Archive -Path target/${{ matrix.target }}/release/tun2proxy.exe, README.md, target/tun2proxy-ffi.h, target/${{ matrix.target }}/release/tun2proxy.dll, target/${{ matrix.target }}/release/wintun.dll -DestinationPath mypubdir4/tun2proxy-${{ matrix.target }}.zip
|
powershell Compress-Archive -Path target/${{ matrix.target }}/release/tun2proxy.exe, README.md, target/tun2proxy-ffi.h, target/${{ matrix.target }}/release/tun2proxy.dll, target/${{ matrix.target }}/release/wintun.dll -DestinationPath mypubdir4/tun2proxy-${{ matrix.target }}.zip
|
||||||
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
|
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
|
||||||
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.dylib
|
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.dylib
|
||||||
|
./build-apple.sh
|
||||||
|
mv ./target/Tun2Proxy.xcframework .
|
||||||
|
zip -r mypubdir4/tun2proxy-${{ matrix.target }}.zip ./Tun2Proxy.xcframework/
|
||||||
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
|
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
|
||||||
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.so
|
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.so
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -171,7 +171,7 @@ where
|
||||||
Ok(proxy_handler) => {
|
Ok(proxy_handler) => {
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
if let Err(err) = handle_udp_associate_session(udp, server_addr, proxy_handler, ipv6_enabled).await {
|
if let Err(err) = handle_udp_associate_session(udp, server_addr, proxy_handler, ipv6_enabled).await {
|
||||||
log::error!("{} error \"{}\"", info, err);
|
log::trace!("{} reason \"{}\"", info, err);
|
||||||
}
|
}
|
||||||
log::trace!("Session count {}", TASK_COUNT.fetch_sub(1, Relaxed) - 1);
|
log::trace!("Session count {}", TASK_COUNT.fetch_sub(1, Relaxed) - 1);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue