-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'Move to Apps' window at startup
- Loading branch information
1 parent
0b53cd7
commit 9c394eb
Showing
7 changed files
with
669 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.app-sandbox</key> | ||
<true/> | ||
<key>com.apple.security.files.user-selected.read-only</key> | ||
<true/> | ||
<key>com.apple.security.network.client</key> | ||
<true/> | ||
</dict> | ||
<dict/> | ||
</plist> |
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,6 @@ | ||
// | ||
// Use this file to import your target's public headers that you would like to expose to Swift. | ||
// | ||
|
||
|
||
#import "./LetsMove/PFMoveApplication.h" |
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.