Skip to content

Commit

Permalink
Remove old and obsolete tuxedo ec api
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxedoxt committed Aug 10, 2020
1 parent 031757f commit 1b66ed6
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 376 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"files.associations": {
"tuxedo_ec_io.h": "c",
"array": "c",
"string": "c",
"string_view": "c",
Expand Down
8 changes: 0 additions & 8 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"targets": [
{
"target_name": "TuxedoECAPI",
"sources": [ "src/native-lib/tuxedo_ec_napi.cc" ],
"libraries": [ "../src/native-lib/tuxedo_ec_lib/libs/tuxedo_ec_lib.a" ],
"include_dirs": [ "<!@(node -p \"require('node-addon-api').include\")", "./src/native-lib/tuxedo_ec_lib/headers" ],
"dependencies": [ "<!(node -p \"require('node-addon-api').gyp\")" ],
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
},
{
"target_name": "TuxedoWMIAPI",
"sources": [ "src/native-lib/tuxedo_wmi_napi.cc" ],
Expand Down
3 changes: 0 additions & 3 deletions build-src/electron-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ async function buildDeb(): Promise<void> {
],
extraResources: [
distSrc + '/data/service/tccd',
distSrc + '/data/service/TuxedoECAPI.node',
distSrc + '/data/service/TuxedoWMIAPI.node',
distSrc + '/data/CHANGELOG.md',
distSrc + '/data/dist-data/tccd.service',
Expand Down Expand Up @@ -103,7 +102,6 @@ async function buildSuseRpm(): Promise<void> {
],
extraResources: [
distSrc + '/data/service/tccd',
distSrc + '/data/service/TuxedoECAPI.node',
distSrc + '/data/service/TuxedoWMIAPI.node',
distSrc + '/data/dist-data/tccd.service',
distSrc + '/data/dist-data/tccd-sleep.service',
Expand Down Expand Up @@ -161,7 +159,6 @@ async function buildAppImage(): Promise<void> {
],
extraResources: [
distSrc + '/data/service/tccd',
distSrc + '/data/service/TuxedoECAPI.node',
distSrc + '/data/service/TuxedoWMIAPI.node',
distSrc + '/data/dist-data/tccd.service',
distSrc + '/data/dist-data/tccd-sleep.service',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"bundle-service": "pkg --target node10-linux-x64 --output ./dist/tuxedo-control-center/data/service/tccd ./dist/tuxedo-control-center/service-app/package.json",
"build-native": "node-gyp configure && node-gyp rebuild",
"copy-files": "run-s copy-package-json copy-dist-files copy-native",
"copy-native": "mkdir -p ./dist/tuxedo-control-center/service-app/native-lib && cp ./build/Release/TuxedoECAPI.node ./dist/tuxedo-control-center/data/service && cp ./build/Release/TuxedoWMIAPI.node ./dist/tuxedo-control-center/data/service",
"copy-native": "mkdir -p ./dist/tuxedo-control-center/service-app/native-lib && cp ./build/Release/TuxedoWMIAPI.node ./dist/tuxedo-control-center/data/service",
"copy-package-json": "cp ./src/package.json ./dist/tuxedo-control-center/package.json",
"copy-dist-files": "cp -r ./src/dist-data ./dist/tuxedo-control-center/data",
"copy-changelog": "cp CHANGELOG.md ./src/ng-app/assets/",
Expand Down
53 changes: 0 additions & 53 deletions src/native-lib/TuxedoECAPI.ts

This file was deleted.

98 changes: 0 additions & 98 deletions src/native-lib/tuxedo_ec_lib/headers/tuxedo_ec_io.h

This file was deleted.

76 changes: 0 additions & 76 deletions src/native-lib/tuxedo_ec_lib/headers/tuxedo_fan_api.h

This file was deleted.

42 changes: 0 additions & 42 deletions src/native-lib/tuxedo_ec_lib/headers/tuxedo_webcam_api.h

This file was deleted.

Binary file removed src/native-lib/tuxedo_ec_lib/libs/tuxedo_ec_lib.a
Binary file not shown.
Loading

0 comments on commit 1b66ed6

Please sign in to comment.