This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
666 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// PFMoveApplication.h, version 1.24 | ||
// LetsMove | ||
// | ||
// Created by Andy Kim at Potion Factory LLC on 9/17/09 | ||
// | ||
// The contents of this file are dedicated to the public domain. | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
Moves the running application to ~/Applications or /Applications if the former does not exist. | ||
After the move, it relaunches app from the new location. | ||
DOES NOT work for sandboxed applications. | ||
Call from \c NSApplication's delegate method \c -applicationWillFinishLaunching: method. */ | ||
void PFMoveToApplicationsFolderIfNecessary(void); | ||
|
||
/** | ||
Check whether an app move is currently in progress. | ||
Returns YES if LetsMove is currently in-progress trying to move the app to the Applications folder, or NO otherwise. | ||
This can be used to work around a crash with apps that terminate after last window is closed. | ||
See https://github.com/potionfactory/LetsMove/issues/64 for details. */ | ||
BOOL PFMoveIsInProgress(void); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
Oops, something went wrong.