1
0
mirror of https://github.com/arsenetar/dupeguru-cocoa.git synced 2024-12-03 19:59:02 +00:00

Update to work with latest changes in dupeguru

This commit is contained in:
Andrew Senetar 2021-08-25 21:40:58 -05:00
parent 8abf4de916
commit 01b4610956
No known key found for this signature in database
GPG Key ID: FEB896EB6CF6254B
4 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ def build_cocoa(dev):
os.mkdir(pydep_folder)
shutil.copy(op.join(cocoa_project_path, 'dg_cocoa.py'), 'build')
tocopy = [
'dupeguru/core', 'dupeguru/hscommon', 'cocoa/inter', 'cocoalib/cocoa', 'objp', 'send2trash', 'hsaudiotag',
'dupeguru/core', 'dupeguru/hscommon', 'cocoa/inter', 'cocoalib/cocoa', 'objp', 'send2trash', 'mutagen'
]
copy_packages(tocopy, pydep_folder, create_links=dev)
sys.path.insert(0, 'build')

View File

@ -31,7 +31,7 @@ class DupeGuru(DupeGuruBase):
def _get_fileclasses(self):
result = DupeGuruBase._get_fileclasses(self)
if self.app_mode == AppMode.Standard:
if self.app_mode == AppMode.STANDARD:
result = [Bundle] + result
return result

View File

@ -181,7 +181,7 @@ class PyTable(PyGUIObject):
#--- Cocoa --> Python
def columns(self) -> pyref:
return self.model.columns
return self.model._columns
def add(self):
self.model.add()

@ -1 +1 @@
Subproject commit bf7d720126525557d45d4293076553372cc78d34
Subproject commit 47dbe805bb563f3f4ffb90730fc8b1349448789e