Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Add NodeRT dependency for Windows System Media Transport Controls sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
GermanDarknes committed Jan 8, 2022
1 parent b74e580 commit 5d64a22
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .erb/scripts/ElectronRebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (
fs.existsSync(nodeModulesPath)
) {
const electronRebuildCmd =
'../node_modules/.bin/electron-rebuild --parallel --force --types prod,dev,optional --module-dir .';
'../node_modules/.bin/electron-rebuild --no-parallel --force --types prod,dev,optional --module-dir .';
const cmd =
process.platform === 'win32'
? electronRebuildCmd.replace(/\//g, '\\')
Expand Down
4 changes: 4 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
},
"license": "GPL-3.0",
"dependencies": {
"@nodert-win10-au/windows.foundation": "^0.4.4",
"@nodert-win10-au/windows.media": "^0.4.4",
"@nodert-win10-au/windows.media.playback": "^0.4.4",
"@nodert-win10-au/windows.storage.streams": "^0.4.4",
"mpris-service": "^2.1.2"
}
}
30 changes: 29 additions & 1 deletion src/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
# yarn lockfile v1


"@nodert-win10-au/windows.foundation@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@nodert-win10-au/windows.foundation/-/windows.foundation-0.4.4.tgz#13e9fe3a233cae8f6ea3f50d677860b3da8c9220"
integrity sha512-M31DRrLb3DWTtInxwrZqTjvTl4d7O2EqfPHOcgoch2gA1JDgLr+cpTYxDRar+MvkKEO2dCNDhsV2eoDRZFHkiw==
dependencies:
nan latest

"@nodert-win10-au/windows.media.playback@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@nodert-win10-au/windows.media.playback/-/windows.media.playback-0.4.4.tgz#6fda817c1fbbcbfe21ab9c324f6a093d461ef7c9"
integrity sha512-z8FjQEA2bxBhbwO5vb0hnFTfOa5cass6dZvERU5aGs7iVFmw+bplY3Wz8B6ZuaypUB0p1BXU04Xchn2gjY098g==
dependencies:
nan latest

"@nodert-win10-au/windows.media@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@nodert-win10-au/windows.media/-/windows.media-0.4.4.tgz#34afc6d2563adc1d0f867a03b60588d0fde3a9dc"
integrity sha512-5Apk9Wxks5qtYNd2ug1uOleekDf/r8oBZa67uMySMLr2IgdDbWZxu+bGZWH0MTL74Ik77KmTvYujPF1kgc4SHA==
dependencies:
nan latest

"@nodert-win10-au/windows.storage.streams@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@nodert-win10-au/windows.storage.streams/-/windows.storage.streams-0.4.4.tgz#277e9004b3802b6bce8d96b6bfb018506e82e725"
integrity sha512-8dUSkAHZJEQAa/bcMEbotfym3Uxq01LFEfcyjCbIbTwJfW1ZNElDpMIrqizLCVr03i9mrrJ5dYCcYeABdtj+vA==
dependencies:
nan latest

"@nornagon/[email protected]":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@nornagon/put/-/put-0.0.8.tgz#9d497ec46c9364acc3f8b59aa3cf8ee4134ae337"
Expand Down Expand Up @@ -182,7 +210,7 @@ mpris-service@^2.1.2:
deep-equal "^1.0.1"
source-map-support "^0.5.11"

nan@^2.12.1:
nan@^2.12.1, nan@latest:
version "2.15.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee"
integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==
Expand Down

0 comments on commit 5d64a22

Please sign in to comment.