22 lines
454 B
Python
22 lines
454 B
Python
|
|
"""
|
||
|
|
CryptZ Ultimate v5 — AES-256-GCM Professional Archiver
|
||
|
|
Main entry point: GUI or CLI mode.
|
||
|
|
"""
|
||
|
|
|
||
|
|
import sys
|
||
|
|
import os
|
||
|
|
|
||
|
|
def main():
|
||
|
|
if len(sys.argv) > 1:
|
||
|
|
from cli import cli_main
|
||
|
|
cli_main()
|
||
|
|
else:
|
||
|
|
from ui import CryptZApp
|
||
|
|
app = CryptZApp()
|
||
|
|
app.mainloop()
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
# Ensure we can import sibling modules
|
||
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||
|
|
main()
|