Skip to content

Commit cb66b00

Browse files
committed
New release v1.7.5
1 parent 9701fcc commit cb66b00

11 files changed

Lines changed: 1185 additions & 218 deletions

File tree

installer_script.iss

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,24 @@
11
#define MyAppName "BulkFolder"
22
#define MyAppPublisher "BulkFolder Contributors"
3+
; La version sera injectée par la ligne de commande GitHub
34
#ifndef MyAppVersion
45
#define MyAppVersion "1.0.0"
56
#endif
67

78
[Setup]
8-
AppId={{BulkFolder-Unique-ID-12345}}
9+
AppId={{votre-guid-ici}}
910
AppName={#MyAppName}
1011
AppVersion={#MyAppVersion}
11-
AppVerName={#MyAppName} v{#MyAppVersion}
1212
AppPublisher={#MyAppPublisher}
1313
DefaultDirName={autopf}\{#MyAppName}
1414
DefaultGroupName={#MyAppName}
15-
AllowNoIcons=yes
1615
OutputDir=Output
1716
OutputBaseFilename=BulkFolder_Setup
1817
SetupIconFile=src\assets\logo.ico
1918
Compression=lzma
2019
SolidCompression=yes
2120
ArchitecturesAllowed=x64
2221
ArchitecturesInstallIn64BitMode=x64
23-
VersionInfoCompany={#MyAppPublisher}
24-
VersionInfoDescription=Bulk folder organizer and renamer
25-
VersionInfoVersion={#MyAppVersion}
26-
27-
[Languages]
28-
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
29-
Name: "english"; MessagesFile: "compiler:Default.isl"
3022

3123
[Tasks]
3224
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
@@ -37,7 +29,4 @@ Source: "dist\BulkFolder\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdi
3729

3830
[Icons]
3931
Name: "{group}\{#MyAppName}"; Filename: "{app}\BulkFolder.exe"
40-
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\BulkFolder.exe"; Tasks: desktopicon
41-
42-
[Run]
43-
Filename: "{app}\BulkFolder.exe"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
32+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\BulkFolder.exe"; Tasks: desktopicon

project_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project>
33
<name>BulkFolder</name>
4-
<version>1.7.6</version>
4+
<version>1.7.5</version>
55
<description>The safest and fastest bulk organizer and renamer.</description>
66
<author>Achraf KHABAR / Open Source Community</author>
77
<repository>https://github.com/Ashraf-Khabar/bulkfolder</repository>

run_app.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/bulkfolder/journal.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22
import json
3-
import os
4-
import ctypes
53
from dataclasses import dataclass
64
from pathlib import Path
75
from datetime import datetime, timezone
@@ -19,20 +17,9 @@ def journal_path_for(root: Path) -> Path:
1917

2018
def append_entries(jpath: Path, entries: Iterable[JournalEntry]) -> None:
2119
jpath.parent.mkdir(parents=True, exist_ok=True)
22-
23-
file_exists = jpath.exists()
24-
2520
with jpath.open("a", encoding="utf-8") as f:
2621
for e in entries:
2722
f.write(json.dumps(e.__dict__, ensure_ascii=False) + "\n")
28-
29-
# Rendre le fichier caché sous Windows lors de la création
30-
if not file_exists and os.name == 'nt':
31-
try:
32-
FILE_ATTRIBUTE_HIDDEN = 0x02
33-
ctypes.windll.kernel32.SetFileAttributesW(str(jpath), FILE_ATTRIBUTE_HIDDEN)
34-
except Exception:
35-
pass
3623

3724
def now_iso() -> str:
38-
return datetime.now(timezone.utc).isoformat()
25+
return datetime.now(timezone.utc).isoformat()

0 commit comments

Comments
 (0)