Skip to content

Commit f58a36a

Browse files
committed
优化:Mac暂时移除自动模型修复脚本
1 parent b72b93d commit f58a36a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Server/ServerAddResolvePanel.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const passed = ref({
1818
const commands = computed(() => {
1919
const commands: string[] = []
2020
if (window.$mapi.app.isPlatform('osx')) {
21-
commands.push('sudo spctl --master-disable')
21+
// commands.push('sudo spctl --master-disable')
2222
commands.push(`sudo xattr -r -d com.apple.quarantine ${props.root}`)
2323
}
2424
return commands
@@ -105,9 +105,9 @@ defineExpose({
105105
</div>
106106
</div>
107107
<div class="mb-1">
108-
<a-button @click="doRun('commands')" :loading="running" class="mr-2">
109-
{{ $t('一键运行') }}
110-
</a-button>
108+
<!-- <a-button @click="doRun('commands')" :loading="running" class="mr-2">-->
109+
<!-- {{ $t('一键运行') }}-->
110+
<!-- </a-button>-->
111111
<a-button @click="doRunManual('commands')" class="mr-2">
112112
{{ $t('已手动完成') }}
113113
</a-button>

0 commit comments

Comments
 (0)