iamxcd / tkinter-helper

为tkinter打造的可视化拖拽布局界面设计小工具

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

是否可以在仓库中添加github ci workflow来生成win版本

lingr7 opened this issue · comments

如题,打包的win版本只有10.4m还是很小巧的。

这个是网页版的,你说的是什么生成win版?

我的意思是那个可下载的那个exe。

手动打包确实麻烦,能提下pr吗,构建脚本这块我不熟悉 😂 我把预览程序那部分也上传上来

这个我也不熟悉 😂vue程序打包和github的workflow都不熟悉。

    preview() {
      let tk_code = {
        win: this.frame,
      };
      tk_code = JSON.stringify(tk_code);
      this.$http
        .post(preview.url, tk_code, {
          headers: {
            "Content-Type": "text/plain",
          },
        })

预览功能真的弹出了一个窗口界面,很神奇,这是怎么做到的。

参考这里: https://github.com/iamxcd/tkinter-helper/blob/master/preview/generate_win.py
解析前端传的布局文件,实时生成窗口,然后弹出。