mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-10-09 00:21:12 +02:00
This commit is contained in:
1 parent
1be94d8c3d
commit
2acb1f5982
2 files changed
+1
-1
No files matched your search
@@ -2513,7 +2513,7 @@ class SnakeVII(SnakeVI):
|
||||
|
||||
def addQuarantine(self):
|
||||
''' Add com.apple.quarantine extended attribute to the file. '''
|
||||
value = f'0082;{int(time.time())};CrimsonUroboros;'
|
||||
value = f'0004;{int(time.time())};CrimsonUroboros;'
|
||||
value_as_bytes = value.encode()
|
||||
xattr.setxattr(self.file_path, 'com.apple.quarantine', value_as_bytes)
|
||||
|
||||
|
||||
Reference in new issue
Block a user