首次提交
This commit is contained in:
@@ -34,6 +34,7 @@ function getSoundFiles() {
|
||||
// 生成文件内容
|
||||
function generateSoundList() {
|
||||
const soundFiles = getSoundFiles();
|
||||
const defaultSound = 'universfield-new-notification-024-370048.mp3';
|
||||
|
||||
const fileContent = `/**
|
||||
* 自动生成的音频文件列表
|
||||
@@ -45,10 +46,10 @@ function generateSoundList() {
|
||||
export const soundFiles = ${JSON.stringify(soundFiles, null, 2)};
|
||||
|
||||
// 默认的单次通知铃声
|
||||
export const defaultSingleSound = 'Teams 默认.mp3';
|
||||
export const defaultSingleSound = '${defaultSound}';
|
||||
|
||||
// 默认的持续通知铃声
|
||||
export const defaultUrgentSound = 'Teams 默认通话铃.mp3';
|
||||
export const defaultUrgentSound = '${defaultSound}';
|
||||
|
||||
// 获取音频文件的完整路径
|
||||
export function getSoundPath(filename) {
|
||||
|
||||
Reference in New Issue
Block a user