Skip to content

Commit aade05b

Browse files
Merge pull request #21 from ZylosCore/fps-fix-problem
Sidbar fps - changing the file management
2 parents 6632578 + 6d905b2 commit aade05b

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

src/bulkfolder/ui/main.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
from __future__ import annotations
22
import sys
3+
import ctypes
34
from .app import App
45

56
def main() -> None:
6-
# --- CORRECTION DE L'ICÔNE POUR LA BARRE DES TÂCHES WINDOWS ---
7-
# Permet de dissocier l'application de l'exécutable Python standard
8-
# et d'afficher correctement votre logo personnalisé.
7+
"""
8+
Main entry point for the BulkFolder application.
9+
Includes Windows-specific fixes for taskbar icons and app identification.
10+
"""
11+
# --- WINDOWS APP USER MODEL ID ---
12+
# This helps Windows distinguish the app from a generic Python process.
13+
# Format: CompanyName.ProductName.SubProduct.Version
914
if sys.platform.startswith("win"):
10-
import ctypes
1115
try:
12-
myappid = "achrafkhabar.bulkfolder.app.1.0"
16+
myappid = "Zyloscore.BulkFolder.Organizer.1.1.0"
1317
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
1418
except Exception:
1519
pass
16-
# ---------------------------------------------------------------
20+
# ----------------------------------
1721

1822
app = App()
1923
app.mainloop()

version_info.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Fichier d'infos de version pour BulkFolder
1+
# UTF-8
2+
#
3+
# For more details about fixed file info 'FFI' see:
4+
# http://msdn.microsoft.com/en-us/library/ms646997.aspx
25
VSVersionInfo(
36
ffi=FixedFileInfo(
47
filevers=(1, 7, 6, 0),
@@ -15,11 +18,11 @@ VSVersionInfo(
1518
[
1619
StringTable(
1720
u'040904B0',
18-
[StringStruct(u'CompanyName', u'BulkFolder Contributors'),
19-
StringStruct(u'FileDescription', u'Bulk folder organizer and renamer'),
21+
[StringStruct(u'CompanyName', u'Zyloscore'),
22+
StringStruct(u'FileDescription', u'BulkFolder - Professional File Organizer'),
2023
StringStruct(u'FileVersion', u'1.7.6'),
21-
StringStruct(u'InternalName', u'BulkFolder'),
22-
StringStruct(u'LegalCopyright', u'MIT License'),
24+
StringStruct(u'InternalName', u'bulkfolder'),
25+
StringStruct(u'LegalCopyright', u'Copyright (c) 2024 Zyloscore'),
2326
StringStruct(u'OriginalFilename', u'BulkFolder.exe'),
2427
StringStruct(u'ProductName', u'BulkFolder'),
2528
StringStruct(u'ProductVersion', u'1.7.6')])

0 commit comments

Comments
 (0)