Skip to content

Commit

Permalink
Attempt to set native folder on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
monkstone committed May 6, 2018
1 parent f588a83 commit 9ec656d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/picrate/native_folder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class NativeFolder

WIN_FORMAT = 'windows%d'.freeze
LINUX_FORMAT = 'linux%d'.freeze
ARM32 = '-armv6hf'
# WIN_PATTERNS = [
# /bccwin/i,
# /cygwin/i,
Expand All @@ -22,7 +23,7 @@ def initialize

def name
return 'macosx' if os =~ /darwin/ || os =~ /mac/
# return format(WIN_FORMAT, bit) if WIN_PATTERNS.include? os
return format(LINUX_FORMAT, ARM32) if os =~ /^arm/
return format(LINUX_FORMAT, bit) if os =~ /linux/
end

Expand Down

0 comments on commit 9ec656d

Please sign in to comment.