Skip to content

Commit

Permalink
Add launch at login support
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyyoung committed Apr 30, 2019
1 parent 090e318 commit 7e8bd9e
Show file tree
Hide file tree
Showing 15 changed files with 277 additions and 47 deletions.
2 changes: 2 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_PATH: "./Gems"
109 changes: 69 additions & 40 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Created by https://www.gitignore.io/api/swift,macos,windows
# Created by https://www.gitignore.io

### macOS ###
*.DS_Store
# General
.DS_Store
.AppleDouble
.LSOverride

Expand All @@ -27,16 +28,47 @@ Network Trash Folder
Temporary Items
.apdisk

### Swift ###
### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/

## Various settings
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -45,12 +77,14 @@ DerivedData/
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings

## Obj-C/Swift specific
*.hmap
Expand All @@ -62,16 +96,27 @@ xcuserdata/
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control

Pods/

# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
.build/
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

# CocoaPods - Refactored to standalone file
Carthage/Build

# Carthage - Refactored to standalone file
# Gems

Gems/

# fastlane
#
Expand All @@ -82,28 +127,12 @@ playground.xcworkspace

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/screenshots/**/*.png
fastlane/test_output

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk
# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

# End of https://www.gitignore.io/api/swift,macos,windows
iOSInjectionProject/
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'cocoapods'
76 changes: 76 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.0)
activesupport (4.2.11.1)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
atomos (0.1.3)
claide (1.0.2)
cocoapods (1.6.1)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.6.1)
cocoapods-deintegrate (>= 1.0.2, < 2.0)
cocoapods-downloader (>= 1.2.2, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.3.1, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.2.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.6.6)
nap (~> 1.0)
ruby-macho (~> 1.4)
xcodeproj (>= 1.8.1, < 2.0)
cocoapods-core (1.6.1)
activesupport (>= 4.0.2, < 6)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-deintegrate (1.0.4)
cocoapods-downloader (1.2.2)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-stats (1.1.0)
cocoapods-trunk (1.3.1)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.1.0)
colored2 (3.1.2)
concurrent-ruby (1.1.5)
escape (0.0.4)
fourflusher (2.2.0)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
minitest (5.11.3)
molinillo (0.6.6)
nanaimo (0.2.6)
nap (1.1.0)
netrc (0.11.0)
ruby-macho (1.4.0)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
xcodeproj (1.8.2)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)

PLATFORMS
ruby

DEPENDENCIES
cocoapods

BUNDLED WITH
2.0.1
6 changes: 6 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
platform :macos, '10.10'
inhibit_all_warnings!

target 'Suohai' do
pod 'LoginServiceKit', :git => 'https://github.com/Clipy/LoginServiceKit.git'
end
21 changes: 21 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PODS:
- LoginServiceKit (2.0.2)

DEPENDENCIES:
- LoginServiceKit (from `https://github.com/Clipy/LoginServiceKit.git`)

EXTERNAL SOURCES:
LoginServiceKit:
:git: https://github.com/Clipy/LoginServiceKit.git

CHECKOUT OPTIONS:
LoginServiceKit:
:commit: 79c9d6d2cc25dc238e6044245bebdc8253a786f2
:git: https://github.com/Clipy/LoginServiceKit.git

SPEC CHECKSUMS:
LoginServiceKit: 5b4736234dc4cc96d786d8cd83e43b9ce5e7f1ca

PODFILE CHECKSUM: 0ad4c30408605bc8e6c92f8c81723fa8f708df20

COCOAPODS: 1.6.1
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Suohai

Audio input/output source lock for macOS.
Audio input/output source locking tool for macOS.

## Screenshot

![0x01](Screenshot/0x01.png)

## Build

Run `pod install` before buil project.

## Credit

- [viko16](https://github.com/viko16)

## License

The [MIT License](LICENSE).
Binary file modified Screenshot/0x01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e8bd9e

Please sign in to comment.