diff --git a/cli/tauri.js/api-src/path.ts b/cli/tauri.js/api-src/path.ts index e0dc0ec79..4ff39db91 100644 --- a/cli/tauri.js/api-src/path.ts +++ b/cli/tauri.js/api-src/path.ts @@ -9,7 +9,7 @@ import { BaseDirectory } from './fs' async function appDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.App }) } @@ -22,7 +22,7 @@ async function appDir(): Promise { async function audioDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Audio }) } @@ -35,7 +35,7 @@ async function audioDir(): Promise { async function cacheDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Cache }) } @@ -48,7 +48,7 @@ async function cacheDir(): Promise { async function configDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Config }) } @@ -61,7 +61,7 @@ async function configDir(): Promise { async function dataDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Data }) } @@ -74,7 +74,7 @@ async function dataDir(): Promise { async function desktopDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Desktop }) } @@ -87,7 +87,7 @@ async function desktopDir(): Promise { async function documentDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Document }) } @@ -100,7 +100,7 @@ async function documentDir(): Promise { async function downloadDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Download }) } @@ -113,7 +113,7 @@ async function downloadDir(): Promise { async function executableDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Executable }) } @@ -126,7 +126,7 @@ async function executableDir(): Promise { async function fontDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Font }) } @@ -139,7 +139,7 @@ async function fontDir(): Promise { async function homeDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Home }) } @@ -152,7 +152,7 @@ async function homeDir(): Promise { async function localDataDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.LocalData }) } @@ -165,7 +165,7 @@ async function localDataDir(): Promise { async function pictureDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Picture }) } @@ -178,7 +178,7 @@ async function pictureDir(): Promise { async function publicDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Public }) } @@ -191,7 +191,7 @@ async function publicDir(): Promise { async function resourceDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Resource }) } @@ -204,7 +204,7 @@ async function resourceDir(): Promise { async function runtimeDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Runtime }) } @@ -217,7 +217,7 @@ async function runtimeDir(): Promise { async function templateDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Template }) } @@ -230,7 +230,7 @@ async function templateDir(): Promise { async function videoDir(): Promise { return await promisified({ cmd: 'resolvePath', - path: '.', + path: '', directory: BaseDirectory.Video }) }