@@ -63,8 +71,13 @@ const handleCountIncrease = (): void => {
App Version: {{ appVersion }}
+ {{
+ $t('desc.selected-file', {
+ filePath: selectedFile
+ })
+ }}
-
+
@@ -72,7 +85,7 @@ const handleCountIncrease = (): void => {
-
+
@@ -82,7 +95,7 @@ const handleCountIncrease = (): void => {
-
+
@@ -90,7 +103,7 @@ const handleCountIncrease = (): void => {
-
+
@@ -98,9 +111,17 @@ const handleCountIncrease = (): void => {
+
+
+
+
+ {{ $t('menu.open-file') }}
+
+
+
{
await window.mainApi.send('msgOpenExternalLink', url)
}
+
+ static async openFile(type: string): Promise {
+ return window.mainApi.invoke('msgOpenFile', type)
+ }
}
-export const { getCurrentLocale, openExternal } = Utils
+export const { getCurrentLocale, openExternal, openFile } = Utils