metefeeder submodule
This commit is contained in:
parent
d4acf64815
commit
6d4b8c8e86
11 changed files with 16 additions and 8 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
__pycache__/
|
||||
*.iml
|
||||
.idea/
|
||||
.venv/
|
||||
.venv/
|
||||
debug.log
|
||||
1
.gitmodules
vendored
1
.gitmodules
vendored
|
|
@ -1,3 +1,4 @@
|
|||
[submodule "MeterFeeder"]
|
||||
path = MeterFeeder
|
||||
url = git@github.com:TheRandonauts/MeterFeeder.git
|
||||
shallow = true
|
||||
|
|
|
|||
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"githubPullRequests.ignoredPullRequestBranches": [
|
||||
"develop"
|
||||
]
|
||||
}
|
||||
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,8 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Andika Wasisto
|
||||
Modified by randogoth / Randonauts Co.
|
||||
Modified by soliax / fp2.dev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit f33f7b266cfa69a73cba481c4c2b875e72066ae8
|
||||
Subproject commit 6b8de4bd2c8fc0c483c1988b1d99694d8ad31d8d
|
||||
|
|
@ -1 +0,0 @@
|
|||
[0917/192900.742:ERROR:registration_protocol_win.cc(103)] CreateFile: The system cannot find the file specified. (0x2)
|
||||
Binary file not shown.
Binary file not shown.
BIN
meterfeeder.dll
BIN
meterfeeder.dll
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
# Copyright (c) 2020 Andika Wasisto
|
||||
# Modified by Tobias Raayoni Last
|
||||
# Modified by randogoth
|
||||
# Modified by soliax
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
##
|
||||
# MeterFeeder Library Wrapper
|
||||
#
|
||||
# by soliax
|
||||
# by soliax, randogoth
|
||||
##
|
||||
|
||||
from platform import os
|
||||
|
|
@ -15,13 +15,13 @@ class MeterFeederWrapper:
|
|||
def __init__(self):
|
||||
if platform == "linux" or platform == "linux2":
|
||||
# Linux
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/libmeterfeeder.so')
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/MeterFeeder/builds/linux/libmeterfeeder.so')
|
||||
elif platform == "darwin":
|
||||
# OS X
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/libmeterfeeder.dylib')
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/MeterFeeder/builds/mac/libmeterfeeder.dylib')
|
||||
elif platform == "win32":
|
||||
# Windows
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/meterfeeder.dll')
|
||||
self._meterfeeder = cdll.LoadLibrary(os.getcwd() + '/MeterFeeder/builds/windows/meterfeeder.dll')
|
||||
|
||||
# Declare function bridging
|
||||
self._meterfeeder.MF_Initialize.argtypes = c_char_p,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue