mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
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.
19 lines
625 B
Objective-C
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";
|