diff --git a/standalone/auto-py-to-exe-w-so.json b/standalone/auto-py-to-exe-w-so.json deleted file mode 100644 index ed021bfa739478ab1ce9c1144a17a8c8fd40f9ca..0000000000000000000000000000000000000000 --- a/standalone/auto-py-to-exe-w-so.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "command_data":{ - "onefile":false, - "console":true, - "additional_files":{ - "addFiles_lbb4d":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main_prm.py", - "destination":"." - }, - "addFiles_aaa0a":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/libblas.dll", - "destination":"." - }, - "addFiles_aaa0b":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/libgcc_s_seh-1.dll", - "destination":"." - }, - "addFiles_aaa0c":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/libgfortran-5.dll", - "destination":"." - }, - "addFiles_aaa0d":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/liblapack.dll", - "destination":"." - }, - "addFiles_aaa0e":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/libquadmath-0.dll", - "destination":"." - }, - "addFiles_aaa0f":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/libwinpthread-1.dll", - "destination":"." - }, - "addFiles_ouqe7j":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/frangi3.so", - "destination":"." - } - } - }, - "id_injectable":{ - "file":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main.py", - "icon":"", - "output_location":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/standalone", - "VALUE--upx-dir":"", - "VALUE--log-level":"", - "VALUE-n":"", - "VALUE--add-binary":"", - "VALUE-p":"", - "COMMASPLIT--hidden-import":"", - "VALUE--additional-hooks-dir":"", - "VALUE--runtime-hook":"", - "COMMASPLIT--exclude-module":"", - "VALUE--key":"", - "VALUE--debug":"", - "VALUE--version-file":"", - "VALUE-m":"", - "VALUE-r":"", - "VALUE--osx-bundle-identifier":"", - "VALUE--runtime-tmpdir":"", - "extra_command_data":"" - }, - "switches":{ - "disable_recursion_limit":false, - "OPTION-a":false, - "OPTION--clean":false, - "OPTION-s":false, - "OPTION--noupx":false, - "OPTION--uac-admin":false, - "OPTION--uac-uiaccess":false, - "OPTION--win-private-assemblies":false, - "OPTION--win-no-prefer-redirects":false, - "OPTION--bootloader-ignore-signals":false - } -} diff --git a/standalone/auto-py-to-exe.json b/standalone/auto-py-to-exe.json index 3b7c7511d2f08ade607e81befd6d7374c0875e65..b606edd62933c47d97d09311df720d43ea72406c 100644 --- a/standalone/auto-py-to-exe.json +++ b/standalone/auto-py-to-exe.json @@ -1,47 +1,50 @@ -{ - "command_data":{ - "onefile":false, - "console":true, - "additional_files":{ - "addFiles_lbb4d":{ - "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main_prm.py", - "destination":"." - } - } - - }, - "id_injectable":{ - "file":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main.py", - "icon":"", - "output_location":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/standalone", - "VALUE--upx-dir":"", - "VALUE--log-level":"", - "VALUE-n":"", - "VALUE--add-binary":"", - "VALUE-p":"", - "COMMASPLIT--hidden-import":"", - "VALUE--additional-hooks-dir":"", - "VALUE--runtime-hook":"", - "COMMASPLIT--exclude-module":"", - "VALUE--key":"", - "VALUE--debug":"", - "VALUE--version-file":"", - "VALUE-m":"", - "VALUE-r":"", - "VALUE--osx-bundle-identifier":"", - "VALUE--runtime-tmpdir":"", - "extra_command_data":"" - }, - "switches":{ - "disable_recursion_limit":false, - "OPTION-a":false, - "OPTION--clean":false, - "OPTION-s":false, - "OPTION--noupx":false, - "OPTION--uac-admin":false, - "OPTION--uac-uiaccess":false, - "OPTION--win-private-assemblies":false, - "OPTION--win-no-prefer-redirects":false, - "OPTION--bootloader-ignore-signals":false - } -} +{ + "command_data":{ + "onefile":false, + "console":true, + "additional_files":{ + "addFiles_lbb4d":{ + "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main_prm.py", + "destination":"." + }, + "addFiles_ouqe7j":{ + "source":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/frangi3-nt.so", + "destination":"." + } + } + }, + "id_injectable":{ + "file":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/main.py", + "icon":"", + "output_location":"C:/Users/eric/Documents/code/python-to-exe/nutrimorph/standalone", + "VALUE--upx-dir":"", + "VALUE--log-level":"", + "VALUE-n":"", + "VALUE--add-binary":"", + "VALUE-p":"", + "COMMASPLIT--hidden-import":"", + "VALUE--additional-hooks-dir":"", + "VALUE--runtime-hook":"", + "COMMASPLIT--exclude-module":"", + "VALUE--key":"", + "VALUE--debug":"", + "VALUE--version-file":"", + "VALUE-m":"", + "VALUE-r":"", + "VALUE--osx-bundle-identifier":"", + "VALUE--runtime-tmpdir":"", + "extra_command_data":"" + }, + "switches":{ + "disable_recursion_limit":false, + "OPTION-a":false, + "OPTION--clean":false, + "OPTION-s":false, + "OPTION--noupx":false, + "OPTION--uac-admin":false, + "OPTION--uac-uiaccess":false, + "OPTION--win-private-assemblies":false, + "OPTION--win-no-prefer-redirects":false, + "OPTION--bootloader-ignore-signals":false + } +} diff --git a/nutrimorph.bat b/standalone/nutrimorph.bat similarity index 74% rename from nutrimorph.bat rename to standalone/nutrimorph.bat index 22500b0ed030f5534ecc5650b6162303ff8d8ca6..4d6af762836e4098f01455a6a10653a8fa073c0e 100644 --- a/nutrimorph.bat +++ b/standalone/nutrimorph.bat @@ -6,9 +6,20 @@ @echo off setlocal +where /q powershell +if ERRORLEVEL 1 ( + echo PowerShell utility is missing + echo Please install PowerShell from Microsoft + echo [Press "Enter" to exit] + pause > nul + exit +) + for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do ( .\main\main.exe %%~I ) +echo [Press "Enter" to exit] +pause > nul goto :EOF : end Batch portion / begin PowerShell hybrid chimera #>