-
Notifications
You must be signed in to change notification settings - Fork 63
ARM architecture support. #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ProKn1fe
wants to merge
16
commits into
joelverhagen:release
Choose a base branch
from
ProKn1fe:aarch64_support
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8ef264e
Initial arm64 support.
ProKn1fe fa4e52b
Exclude arm64 from test.
ProKn1fe 5053ab9
Automate binaries detection in linux
ProKn1fe b9efdab
ARM auto download
ProKn1fe 9483fc3
ARM archive correct extract
ProKn1fe 1b2c507
Fix unsecure Path.GetTempFileName()
ProKn1fe 585dd5e
Fix wrong null check.
ProKn1fe 54662fa
Minor code changes
ProKn1fe 594da7a
Fix branch name to version mapping
joelverhagen c7a3373
Change some variable names and comments
ProKn1fe 76d823c
Apply variable rename in code
ProKn1fe ae28aed
Changes architecture enum.
ProKn1fe c12ad1e
IsArm() instead of string.Contains
ProKn1fe 5aa0f98
Split linux\windows search classes.
ProKn1fe eb1c679
Remove non standard rule.
ProKn1fe 679c043
Fix tests build.
ProKn1fe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,12 @@ | ||
using System; | ||
|
||
namespace Knapcode.TorSharp.Tools | ||
{ | ||
internal static class EnumHelper | ||
{ | ||
public static bool Contains<T>(this T value, string enumValue) where T : Enum | ||
{ | ||
return value.ToString().Contains(enumValue); | ||
} | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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,18 +1,14 @@ | ||
using System; | ||
|
||
namespace Knapcode.TorSharp | ||
namespace Knapcode.TorSharp | ||
{ | ||
/// <summary> | ||
/// CPU architectures that TorSharp can run on. | ||
/// </summary> | ||
[Flags] | ||
public enum TorSharpArchitecture | ||
{ | ||
Unknown = 0, | ||
X86 = 1, | ||
X64 = 2, | ||
Arm = 4, | ||
Arm32 = Arm | X86, | ||
Arm64 = Arm | X64 | ||
Unknown, | ||
X86, | ||
X64, | ||
Arm32, | ||
Arm64 | ||
} | ||
} |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.