mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-26 02:50:56 -04:00
OSX version still needs a bit of work, but completely works now (#43)
This commit is contained in:
parent
31ec0c11d5
commit
a464b6fe1d
5 changed files with 33 additions and 13 deletions
12
setup/py2app.patch
Normal file
12
setup/py2app.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- original-util.py 2014-06-17 12:50:15.000000000 -0700
|
||||
+++ util.py 2014-06-17 12:51:33.000000000 -0700
|
||||
@@ -148,6 +148,9 @@
|
||||
log.info("copying file %s -> %s", source, destination)
|
||||
with zipio.open(source, 'rb') as fp_in:
|
||||
if not dry_run:
|
||||
+ if os.path.exists(destination):
|
||||
+ os.unlink(destination)
|
||||
+
|
||||
with open(destination, 'wb') as fp_out:
|
||||
data = fp_in.read()
|
||||
fp_out.write(data)
|
Loading…
Add table
Add a link
Reference in a new issue