如何在发布开始之前执行 .bat?

发布于 2024-09-07 19:54:21 字数 167 浏览 2 评论 0原文

您好,我正在寻找有关此问题的一些指导...

我想在发布之前更改我的 dns 设置...我制作了一个更改 dns 的 bat,但我不知道如何在发布之前执行它。

请注意,我想在发布之前执行它,而不是在构建之后执行,

谢谢。

……所以没有办法做到这一点吗???

Hi I am looking for some guidance on this...

I want to change my dns settings before publishing... I made a bat that changes the dns but I have no Idea on how to execute it before publishing.

note that I want to execute it before publishing and not after build

thanks in advance.

... so there is no way to do this???...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暮年慕年 2024-09-14 19:54:21

我找到了一种方法来做到这一点...

  1. 在发布之前双击bat文件
  2. 等待它完成
  3. 发布你的项目
  4. 在房间里跳舞

I found a way to do this...

  1. before publishing double click on the bat file
  2. wait till its done
  3. publish your project
  4. dance arround the room
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文