Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
  • Loading branch information
noobpk and code-review-doctor[bot] authored Apr 18, 2022
1 parent ddae0b5 commit d60cdcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def _buildBinary():
f encoding='utf_8').write(setup)
os.system('chmod +x frida-android-hook/androidhook')
elif sys.platform == 'win32':
open('frida-android-hook/androidhook.py','w+').write(setup)
with open('frida-android-hook/androidhook.py','w+') as f:
f encoding='utf_8').write(setup)
except Exception as e:
raise e

Expand Down

0 comments on commit d60cdcd

Please sign in to comment.