Skip to content

Commit

Permalink
Fix arduino avrdude path
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kaplan committed Apr 26, 2016
1 parent 014609b commit d10e59b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions HexUploader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand All @@ -326,7 +326,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions Resources/HexUploader-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2</string>
<string>3</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions Sources/HexLoaderController.m
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ - (IBAction)sendFileButtonAction:(id)sender{

NSLog(@"");

[task setLaunchPath:@"/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude"];
[task setCurrentDirectoryPath:@"/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc"];
[task setLaunchPath:@"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude"];
[task setCurrentDirectoryPath:@"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc"];

NSArray *args = [NSArray arrayWithObjects:
@"-F",
Expand Down

0 comments on commit d10e59b

Please sign in to comment.