* Elected to go with simple text animation progress symbol for the moment
* Unified around one folder browser approach * Added cancellation functionality
This commit is contained in:
+1
-21
@@ -9,27 +9,7 @@ try:
|
||||
from .gui.main_window import main
|
||||
except ImportError:
|
||||
# Fall back to direct import (when run directly)
|
||||
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()
|
||||
from gui.main_window import main
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user