1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Add portable mode

If settings.ini is present next to the executable, will run in portable mode.
This results in settings, data, and cache all being in same folder as dupeGuru.
This commit is contained in:
2021-08-17 21:04:09 -05:00
parent d62b13bcdb
commit be10b462fc
8 changed files with 51 additions and 25 deletions

View File

@@ -52,7 +52,7 @@ class DupeGuru(QObject):
# Enable tabs instead of separate floating windows for each dialog
# Could be passed as an argument to this class if we wanted
self.use_tabs = True
self.model = DupeGuruModel(view=self)
self.model = DupeGuruModel(view=self, portable=self.prefs.portable)
self._setup()
# --- Private