mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
chore: upgrade to libgit2-1.2.0
This commit is contained in:
parent
b83fea9360
commit
a1e420d86c
36 changed files with 2889 additions and 1024 deletions
File diff suppressed because it is too large
Load diff
|
@ -5,15 +5,15 @@ import 'bindings/libgit2_bindings.dart';
|
|||
DynamicLibrary loadLibrary() {
|
||||
if (Platform.isLinux || Platform.isAndroid || Platform.isFuchsia) {
|
||||
return DynamicLibrary.open(
|
||||
'${Directory.current.path}/libgit2/libgit2-1.1.1.so');
|
||||
'${Directory.current.path}/libgit2/libgit2-1.2.0.so');
|
||||
}
|
||||
if (Platform.isMacOS) {
|
||||
return DynamicLibrary.open(
|
||||
'${Directory.current.path}/libgit2/libgit2-1.1.1.dylib');
|
||||
'${Directory.current.path}/libgit2/libgit2-1.2.0.dylib');
|
||||
}
|
||||
if (Platform.isWindows) {
|
||||
return DynamicLibrary.open(
|
||||
'${Directory.current.path}/libgit2/libgit2-1.1.1.dll');
|
||||
'${Directory.current.path}/libgit2/libgit2-1.2.0.dll');
|
||||
}
|
||||
throw Exception('Platform not implemented');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue