Files
Sparkle/fileop/SUFileOperationConstants.m
Zorg be1e86174a Wait for the appropriate process when authorizing file operations
This changes the way we authorize & execute commands, and how we wait for their completion. In order to obtain the correct child to wait (instead of another one terminating intermediately), we use a wrapper tool (fileop) to output its pid onto the communication pipe that we read from the other end.
2016-06-08 21:49:58 -04:00

19 lines
625 B
Objective-C

//
// SUFileOperationConstants.m
// Sparkle
//
// Created by Mayur Pawashe on 6/5/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import "SUFileOperationConstants.h"
char * const SUFileOpRemoveQuarantineCommand = "xattr-d-apple-quarantine";
char * const SUFileOpCopyCommand = "cp";
char * const SUFileOpMoveCommand = "mv";
char * const SUFileOpChangeOwnerAndGroupCommand = "chown";
char * const SUFileOpUpdateModificationAndAccessTimeCommand = "touch";
char * const SUFileOpMakeDirectoryCommand = "mkdir";
char * const SUFileOpRemoveCommand = "rm";
char * const SUFileOpInstallCommand = "installer";