Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a1a924

Browse files
committed
Merge branch 'incoming'
2 parents4110f7c +eb22a95 commit6a1a924

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎src/main/scripts/create_scripts.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ if [[ "\$HOST_FILE" != "" ]]; then
125125
use IO::Socket::INET;
126126
print "let androidInjectionHost =\\"@{[IO::Socket::INET->new(PeerAddr=>'8.8.8.8:53', Proto=>'udp')->sockhost]}\\"\\n";
127127
PERL
128-
(diff "\$HOST_FILE" "\$HOST_TMP" || (chmod +w "\$HOST_FILE" && mv -f "\$HOST_TMP" "\$HOST_FILE"))
128+
diff "\$HOST_FILE" "\$HOST_TMP" || (grep NNN.NNN.NNN.NNN "\$HOST_FILE">/dev/null&&chmod +w "\$HOST_FILE";mv -f "\$HOST_TMP" "\$HOST_FILE")
129129
fi
130130
131131
swift build "\$@"
@@ -222,3 +222,10 @@ SCRIPT
222222
chmod +x {generate-swift,swift-build,swiftc-android,copy-libraries,run-tests}.sh&&
223223
echo Created:$SCRIPTS/{generate-swift,swift-build,swiftc-android,copy-libraries,run-tests}.sh&&
224224
echo
225+
226+
cd"$SWIFT_INSTALL"
227+
if [[!-d Injection4Android ]];then
228+
git clone https://github.com/SwiftJava/Injection4Android.git
229+
echo"Cloned Injection4Android for runtime code injection"
230+
echo"See https://github.com/SwiftJava/Injection4Android"
231+
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp