mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
parent
89688455e0
commit
620cca9ce3
2118
package-lock.json
generated
2118
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -253,7 +253,7 @@
|
||||
"file-loader": "^6.2.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"husky": "^7.0.4",
|
||||
"i18next-parser": "^8.13.0",
|
||||
"i18next-parser": "^6.6.0",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^27.5.1",
|
||||
"lint-staged": "^12.3.7",
|
||||
@ -357,7 +357,7 @@
|
||||
"styled-components": "^6"
|
||||
},
|
||||
"devEngines": {
|
||||
"node": ">=16.x",
|
||||
"node": ">=14.x",
|
||||
"npm": ">=7.x"
|
||||
},
|
||||
"browserslist": [],
|
||||
|
2840
release/app/package-lock.json
generated
2840
release/app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,8 +13,8 @@
|
||||
"postinstall": "npm run electron-rebuild && npm run link-modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jellybrick/mpris-service": "2.1.4",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"mpris-service": "^2.1.2",
|
||||
"ws": "^8.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -37,11 +37,7 @@ module.exports = {
|
||||
output: 'src/renderer/i18n/locales/$LOCALE.json',
|
||||
pluralSeparator: '_',
|
||||
resetDefaultValueLocale: 'en',
|
||||
// Per migration guide, replacement for skipDefaultValues
|
||||
// https://github.com/i18next/i18next-parser/blob/master/docs/migration.md
|
||||
defaultValue: function (locale, namespace, key, value) {
|
||||
return '';
|
||||
},
|
||||
skipDefaultValues: false,
|
||||
sort: true,
|
||||
useKeysAsDefaultValue: true,
|
||||
verbose: false,
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { ipcMain } from 'electron';
|
||||
import Player from '@jellybrick/mpris-service';
|
||||
import Player from 'mpris-service';
|
||||
import { PlayerRepeat, PlayerStatus, SongUpdate } from '../../../renderer/types';
|
||||
import { getMainWindow } from '../../main';
|
||||
|
||||
const mprisPlayer = new Player({
|
||||
const mprisPlayer = Player({
|
||||
identity: 'Feishin',
|
||||
maximumRate: 1.0,
|
||||
minimumRate: 1.0,
|
||||
|
2
src/types/mpris-service.d.ts
vendored
2
src/types/mpris-service.d.ts
vendored
@ -1 +1 @@
|
||||
declare module '@jellybrick/mpris-service';
|
||||
declare module 'mpris-service';
|
||||
|
Loading…
Reference in New Issue
Block a user