|
@@ -412,22 +412,6 @@ async function videoDir(): Promise<string> {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
-/**
|
|
|
|
- * Returns the path to the current working directory.
|
|
|
|
- *
|
|
|
|
- * @returns
|
|
|
|
- */
|
|
|
|
-async function currentDir(): Promise<string> {
|
|
|
|
- return invokeTauriCommand<string>({
|
|
|
|
- __tauriModule: 'Path',
|
|
|
|
- message: {
|
|
|
|
- cmd: 'resolvePath',
|
|
|
|
- path: '',
|
|
|
|
- directory: BaseDirectory.Current
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Returns the path to the suggested log directory.
|
|
* Returns the path to the suggested log directory.
|
|
*
|
|
*
|
|
@@ -578,7 +562,6 @@ export {
|
|
runtimeDir,
|
|
runtimeDir,
|
|
templateDir,
|
|
templateDir,
|
|
videoDir,
|
|
videoDir,
|
|
- currentDir,
|
|
|
|
logDir,
|
|
logDir,
|
|
BaseDirectory,
|
|
BaseDirectory,
|
|
sep,
|
|
sep,
|