Skip to content

Commit

Permalink
2.3.3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobaidadada committed Feb 3, 2025
1 parent 9d5243b commit 771d650
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filecat",
"version": "2.3.2",
"version": "2.3.3",
"description": "filecat 文件管理器",
"author": "xiaobaidadada",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/domain/file/workflow/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run-name: 构建项目 # 用于日志显示的名字
# import-files: # 导入多个文件的配置 用于下面的 use-yml 指令
# - ./ok.yml

env: # 定义一些环境变量 这些 环境变量可以在 run 或者 cwd 中 或者 run-name 中使用 {{}} 来表达 使用的时候 必须要用 '' 字符串括起来,不然会被处理成变量
env: # 定义一些环境变量 这些 环境变量可以在 run 或者 cwd 中 或者 run-name 中使用 {{}} 来表达 使用的时候 必须要用 '' 字符串括起来,不然会被处理成变量 {{{ }}} 是非转义方式 采用 Mustache js
version: 1
cmd_install: npm install

Expand Down
6 changes: 6 additions & 0 deletions src/web/project/component/prompts/FileMenu/FileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ export function FileMenu() {
case FileTypeEnum.video:
if (!user_base_info.sysSoftWare || !user_base_info.sysSoftWare[SysSoftware.ffmpeg] || !user_base_info.sysSoftWare[SysSoftware.ffmpeg].installed) {
NotyFail(t("找不到ffmpeg"))
// setTimeout(()=>{
// close(); // 等下不然会报错 只要不是顺序的执行应都可以 0秒表示只是加入队列
// },0)
Promise.resolve().then(() => {
close(); // 这样也行 微队列
});
break;
}
div = <div onWheel={() => {
Expand Down
4 changes: 2 additions & 2 deletions src/web/project/component/prompts/FileNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ run-name: 构建项目 # 用于日志显示的名字
# import-files: # 导入多个文件的配置 用于下面的 use-yml 指令
# - ./ok.yml
env: # 定义一些环境变量 这些 环境变量可以在 run 或者 cwd 中 或者 run-name 中使用 {{}} 来表达 使用的时候 必须要用 '' 字符串括起来,不然会被处理成变量
env: # 定义一些环境变量 这些 环境变量可以在 run 或者 cwd 中 或者 run-name 中使用 {{}} 来表达 使用的时候 必须要用 '' 字符串括起来,不然会被处理成变量 {{{ }}} 是非转义方式 采用 Mustache js
version: 1
cmd_install: npm install
Expand Down Expand Up @@ -63,7 +63,7 @@ export function FileNew(props) {
const select_item = [
{title:`${t("空")}`,value:""},
{title:`excalidraw${t("格式")}`,value:".excalidraw"},
{title: 'workflow', value:".workflow.yml"},
{title: `workflow${t("格式")}`, value:".workflow.yml"},
]
const cancel=()=> {
setShowPrompt({show: false,type: "",overlay: false,data:{}})
Expand Down

0 comments on commit 771d650

Please sign in to comment.