This commit is contained in:
root 2025-07-11 17:25:29 +08:00
parent 4d590e7e97
commit 0a2e6f9b24
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,10 @@ async function testPath() {
const appDataDirPath = await path.appDataDir(); const appDataDirPath = await path.appDataDir();
const filePath = await path.join(appDataDirPath, 'assets/video.mp4'); const filePath = await path.join(appDataDirPath, 'assets/video.mp4');
const assetUrl = convertFileSrc(filePath); const assetUrl = convertFileSrc(filePath);
console.log({ filePath, assetUrl }) const path2 = `C:\Users\imeep\.mixvideo\temp\video_storage\0af48d09-7b7f-4453-84e6-e7b2b33f7726.mp4`
const assetUrl2 = convertFileSrc(path2);
console.log({ filePath, assetUrl, assetUrl2 })
} }
function App() { function App() {