Skip to content

Commit

Permalink
Add installer script
Browse files Browse the repository at this point in the history
Signed-off-by: black.dragon74 <nickk.2974@gmail.com>
  • Loading branch information
black-dragon74 committed Jul 21, 2020
1 parent 3c3434e commit da8df46
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# install.sh
# macRogAuraCore
#
# Created by Nick on 7/22/20.
# Copyright © 2020 Nick. All rights reserved.

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

echo "Installing macRogAuraCore..."

rm /usr/local/bin/macRogAuraCore 2>/dev/null

# Copy to the destination
cp "$DIR/macRogAuraCore" /usr/local/bin/
chmod +x /usr/local/bin/macRogAuraCore
2 changes: 2 additions & 0 deletions macRogAuraCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
0176196524C78743007D4278 /* install.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = install.sh; sourceTree = "<group>"; };
018B58CA24A9ECDC00ECB9C8 /* macRogAuraCore */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = macRogAuraCore; sourceTree = BUILT_PRODUCTS_DIR; };
018B58CD24A9ECDC00ECB9C8 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
01A192F124AB42AB00017729 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
Expand All @@ -42,6 +43,7 @@
018B58C124A9ECDC00ECB9C8 = {
isa = PBXGroup;
children = (
0176196524C78743007D4278 /* install.sh */,
01A192F124AB42AB00017729 /* README.md */,
018B58CC24A9ECDC00ECB9C8 /* macRogAuraCore */,
018B58CB24A9ECDC00ECB9C8 /* Products */,
Expand Down

0 comments on commit da8df46

Please sign in to comment.