dukuisong hace 1 semana
padre
commit
41a2dac52d
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      office_helper.spec
  2. 1 1
      readme.md

+ 1 - 1
office_helper.spec

@@ -32,7 +32,7 @@ exe = EXE(
     target_arch=None,
     codesign_identity=None,
     entitlements_file=None,
-    icon=['icon.ico'],
+    icon=['icon.png'],
 )
 coll = COLLECT(
     exe,

+ 1 - 1
readme.md

@@ -29,7 +29,7 @@ upload_file
 
 pyinstaller --onefile --noconsole --windowed --icon=../icon.ico init_wps_plug.py
 
-pyinstaller --noconsole  --windowed --add-data "static:static" --icon=icon.ico office_helper.py
+pyinstaller --noconsole  --windowed --add-data "static:static" --icon=icon.png office_helper.py
 
 
 pyinstaller --onefile --noconsole  --windowed --add-data "icon.ico;." --icon=icon.ico upload_file.py