* Added "Recheck for connected device feature" * WIP on progress bar

working for larger transfers * More generated debug files that I will
  probably use to help create tests
This commit is contained in:
2025-08-25 11:18:48 -05:00
committed by Jason Ross
parent ffba056153
commit 7df056ef60
20 changed files with 1895 additions and 24 deletions
+23 -2
View File
@@ -6,10 +6,31 @@ Simple entry point to launch the Android file transfer application.
try:
# Try relative import first (when used as module)
from .gui import main
from .gui.main_window import main
except ImportError:
# Fall back to direct import (when run directly)
from gui import main
try:
from gui.main_window import main
except ImportError:
from gui import AndroidFileHandlerGUI
import sys
def main():
"""Main function to run the application."""
if sys.platform not in ["win32", "linux"]:
import tkinter as tk
from tkinter import messagebox
root = tk.Tk()
root.withdraw()
messagebox.showerror(
"Unsupported OS", "This application only supports Windows or Linux."
)
sys.exit(1)
app = AndroidFileHandlerGUI()
app.mainloop()
if __name__ == "__main__":
main()