diff --git a/.gitignore b/.gitignore index f00a43f..5910875 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ AppDir/ build *.ini squashfs-root -*.spec + # Python cache files __pycache__/ diff --git a/android-file-handler-windows.spec b/android-file-handler-windows.spec new file mode 100644 index 0000000..aa34a06 --- /dev/null +++ b/android-file-handler-windows.spec @@ -0,0 +1,45 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['src/main.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='android-file-handler-windows', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon='icon_media/robot_files_256.ico' +) diff --git a/icon_media/robot_files_256.ico b/icon_media/robot_files_256.ico new file mode 100644 index 0000000..6ba574a Binary files /dev/null and b/icon_media/robot_files_256.ico differ