mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
[enhancement]: support viewing current/setting current time in remote
This commit is contained in:
parent
b347b794b9
commit
5b2977e5e8
9 changed files with 61 additions and 13 deletions
|
|
@ -84,6 +84,10 @@ const updateVolume = (volume: number) => {
|
|||
ipcRenderer.send('update-volume', volume);
|
||||
};
|
||||
|
||||
const updatePosition = (timeSec: number) => {
|
||||
ipcRenderer.send('update-position', timeSec);
|
||||
};
|
||||
|
||||
export const remote = {
|
||||
requestFavorite,
|
||||
requestPosition,
|
||||
|
|
@ -95,6 +99,7 @@ export const remote = {
|
|||
updateFavorite,
|
||||
updatePassword,
|
||||
updatePlayback,
|
||||
updatePosition,
|
||||
updateRating,
|
||||
updateRepeat,
|
||||
updateSetting,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue