-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
9af7f76
commit cc66611
Showing
24 changed files
with
129 additions
and
120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
github "SwiftyJSON/SwiftyJSON" "4.1.0" | ||
github "SwiftyJSON/SwiftyJSON" "4.2.0" | ||
github "acheronfail/MASShortcut" "2.3.6-custom" | ||
github "emaloney/CleanroomLogger" "6.0.2" | ||
github "sindresorhus/LaunchAtLogin" "v2.1.0" | ||
github "tmandry/AXSwift" "0.2.1" | ||
github "sindresorhus/LaunchAtLogin" "v2.4.0" | ||
github "tmandry/AXSwift" "0.2.2" |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
* text=auto | ||
*.swift text eol=lf | ||
* text=auto eol=lf |
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,14 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'LaunchAtLogin' | ||
s.version = '2.4.0' | ||
s.summary = 'Add "Launch at Login" functionality to your sandboxed macOS app in seconds' | ||
s.license = 'MIT' | ||
s.homepage = 'https://github.com/sindresorhus/LaunchAtLogin' | ||
s.social_media_url = 'https://twitter.com/sindresorhus' | ||
s.authors = { 'Sindre Sorhus' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/sindresorhus/LaunchAtLogin.git', :tag => "v#{s.version}" } | ||
s.source_files = 'LaunchAtLogin', 'LaunchAtLoginHelper' | ||
s.resource = 'LaunchAtLogin/copy-helper.sh' | ||
s.swift_version = '4.2' | ||
s.platform = :macos, '10.12' | ||
end |
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
2 changes: 1 addition & 1 deletion
2
...kouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLogin.xcscheme
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
2 changes: 1 addition & 1 deletion
2
...LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLoginHelper.xcscheme
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,21 @@ | ||
# Before and after | ||
|
||
With `LaunchAtLogin`, you only have to do 2 steps instead of 13! | ||
|
||
```diff | ||
- 1. Create a new target that will be the helper app that launches your app | ||
- 2. Set `LSBackgroundOnly` to true in the `Info.plist` file | ||
- 3. Set `Skip Install` to `YES` in the build settings for the helper app | ||
- 4. Enable sandboxing for the helper app | ||
- 5. Add a new `Copy Files` build phase to the main app | ||
- 6. Select `Wrapper` as destination | ||
- 7. Enter `Contents/Library/LoginItems` as subpath | ||
- 8. Add the helper build product to the build phase | ||
- 9. Copy-paste some boilerplate code into the helper app | ||
- 10. Remember to replace `bundleid.of.main.app` and `MainExectuableName` with your own values | ||
- 11. Copy-paste some code to register the helper app into your main app | ||
- 12. Make sure the main app and helper app use the same code signing certificate | ||
- 13. Manually verify that you did everything correctly | ||
+ 1. Install this package | ||
+ 2. Add a new "Run Script Phase" | ||
``` |
Oops, something went wrong.