Ask the user these 4 questions before proceeding:
- Do you hold Protección Temporal para Desplazados de Ucrania?
- Yes → continue
- No → this guide does not apply
| #import <ApplicationServices/ApplicationServices.h> | |
| void addLoginItem(NSURL *appURL) | |
| { | |
| AuthorizationItem right[1] = {{"system.global-login-items.", 0, NULL, 0}}; | |
| AuthorizationRights setOfRights = {1, right}; | |
| AuthorizationRef auth = NULL; | |
| AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &auth); | |
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |