Compare commits
2 Commits
dc3ac499d5
...
6954d7cc06
| Author | SHA1 | Date | |
|---|---|---|---|
| 6954d7cc06 | |||
| a2cefb2c4c |
7
.claude/settings.json
Normal file
7
.claude/settings.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(pyinstaller --onedir --noconsole --name \"GitUpdateChecker\" --icon=icon.ico -y git_updater.py)"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,8 @@
|
||||
"Bash(cmd /c build.bat)",
|
||||
"Bash(pyinstaller --onefile --noconsole --name \"GitUpdateChecker\" --icon=NONE git_updater.py)",
|
||||
"Bash(python -c \"from PIL import Image; img = Image.open\\(''icon.png''\\); img.save\\(''icon.ico'', format=''ICO'', sizes=[\\(256,256\\),\\(128,128\\),\\(64,64\\),\\(32,32\\),\\(16,16\\)]\\)\")",
|
||||
"Bash(pyinstaller --onefile --noconsole --name \"GitUpdateChecker\" --icon=icon.ico git_updater.py)"
|
||||
"Bash(pyinstaller --onefile --noconsole --name \"GitUpdateChecker\" --icon=icon.ico git_updater.py)",
|
||||
"Bash(pyinstaller --onedir --noconsole --name \"GitUpdateChecker\" --icon=icon.ico git_updater.py)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
12
build.bat
12
build.bat
@@ -25,13 +25,17 @@ python -c "from PIL import Image; img = Image.open('icon.png'); img.save('icon.i
|
||||
echo [*] Compilation en cours...
|
||||
echo.
|
||||
|
||||
pyinstaller --onefile --noconsole --name "GitUpdateChecker" --icon=icon.ico git_updater.py
|
||||
pyinstaller --onedir --noconsole --name "GitUpdateChecker" --icon=icon.ico git_updater.py
|
||||
|
||||
echo.
|
||||
if exist "dist\GitUpdateChecker.exe" (
|
||||
echo [OK] Executable cree : dist\GitUpdateChecker.exe
|
||||
if exist "dist\GitUpdateChecker\GitUpdateChecker.exe" (
|
||||
echo [OK] Executable cree : dist\GitUpdateChecker\GitUpdateChecker.exe
|
||||
echo.
|
||||
echo N'oublie pas de copier config.ini a cote de l'exe !
|
||||
echo Pour deployer, copier le contenu de dist\GitUpdateChecker\ :
|
||||
echo - GitUpdateChecker.exe
|
||||
echo - _internal\
|
||||
echo - config.ini ^(a copier manuellement a cote de l'exe^)
|
||||
echo - icon.png ^(a copier manuellement a cote de l'exe^)
|
||||
) else (
|
||||
echo [ERREUR] La compilation a echoue.
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ Accès lecture seule uniquement (fetch/pull/checkout, jamais de push).
|
||||
Tous les chemins sont relatifs à l'emplacement de l'exécutable.
|
||||
"""
|
||||
|
||||
VERSION = "0.5.9"
|
||||
VERSION = "0.6.0"
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.5.9
|
||||
0.6.0
|
||||
|
||||
Reference in New Issue
Block a user