Skip to content

Commit 49640d9

Browse files
committed
v3.0.1 test
1 parent ff9ff7f commit 49640d9

File tree

8 files changed

+37
-30
lines changed

8 files changed

+37
-30
lines changed

.idea/workspace.xml

Lines changed: 26 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Movefile Code/LT_Dic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
'preview_button': ['移动项目预览', 'Action Preview'],
8484
'default_preview': ['点击上方 “预览” 来检查设置,并查看该设置下哪些项目将被移动', 'Click the "Action Preview" button above\nto check the settings above and view which items will be moved'],
8585
'preview_cost': ['扫描耗时:', 'Scan Cost: '],
86-
'preview_num_found': ['找到需要移动的项目: ', "Need-to-move Items' number: "],
86+
'preview_num_found': ['扫描到需要移动的项目数: ', "Need-to-move Items' number: "],
8787
'preview_removal': ['直接移除', 'Remove Directly'],
8888
'save_button': ['保存当前配置', 'Save the config'],
8989
'continue_button': ['运行', 'Run'],
6 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
35 Bytes
Binary file not shown.

Movefile Code/mf_ui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def set_preview(text_widget, result=None, mode='cf', content='', time_cost=0.0):
310310

311311
for index, line in enumerate(result):
312312
_preview_line: str = (
313-
line[0] + ' → ' + line[1]).replace(s_path, 'A').replace(d_path, 'B')
313+
line[0] + ' → ' + line[1]).replace(s_path+"\\", 'A\\').replace(d_path+"\\", 'B\\')
314314
text_widget.insert(tk.END, _preview_line + '\n')
315315
text_widget.tag_add(
316316
_preview_line[0], f'{index + 5}.0', f'{index + 5}.1')
@@ -1485,7 +1485,7 @@ def read_saving(ask_path=False):
14851485
default file path instead, defaults to False (optional)
14861486
"""
14871487
sf_file = configparser.ConfigParser()
1488-
sf_file.read(SF_CONFIG_PATH)
1488+
sf_file.read(SF_CONFIG_PATH, encoding='utf-8')
14891489
new_values = []
14901490

14911491
last_data, cf_configs, sf_configs = list_saving_data()

Movefile_Environment/pyvenv.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
home = C:\Users\Robert\AppData\Local\Programs\Python\Python38
1+
home = C:\Users\10323\AppData\Local\Programs\Python\Python38
22
include-system-site-packages = false
33
version = 3.8.10

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,11 @@ More stable daily use, bugs fixed</code></pre>
441441
20:45 2024/3/1
442442
Movefile V3.0.1
443443
Updated content:
444-
The disappearance of color on preview text when switching modes is fixed
445-
When the dest is blank in a Clean Desktop saving, error prompt won't show up when reading it
446-
The problem that the folder with same name can't be replaced in the target when cleaning desktop is fixed
447-
Some refactorings applied
444+
Fixed Problems:
445+
The disappearance of color on preview text when switching modes.
446+
When the dest is blank in a Clean Desktop saving, error prompt won't show up when reading it.
447+
The folder with same name can't be replaced in the target when cleaning desktop.
448+
The path replacing error in Syncfile preview textbox that happens when the two paths are similar
449+
Some configs wasn't read in utf-8 and caused problems when reading them again after saving.
450+
Some refactorings applied
448451
```

0 commit comments

Comments
 (0)