fix
This commit is contained in:
parent
4d590e7e97
commit
0a2e6f9b24
|
|
@ -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() {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue