Commit d870dc75 authored by zzzzzzzskyward's avatar zzzzzzzskyward
Browse files

add --frozen arg to skip checking requirements from cli

parent c6dd94d0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ parser.add_argument("--exec_dirs", default='', help='translation queue (project
parser.add_argument("--ldpi", default=None, type=float, help='logical dots perinch')
parser.add_argument("--export-translation-txt", action='store_true', help='save translation to txt file once RUN completed')
parser.add_argument("--export-source-txt", action='store_true', help='save source to txt file once RUN completed')
parser.add_argument("--frozen", action='store_true', help='run without checking requirements')
args, _ = parser.parse_known_args()


@@ -296,6 +297,9 @@ def prepare_environment():
        print('Running as app, skip dependency installation')
        return
    
    if args.frozen:
        return

    req_updated = False
    if sys.platform == 'win32':
        for req in REQ_WIN: