是否可以在仓库中添加github ci workflow来生成win版本
lingr7 opened this issue · 6 comments
lingr7 commented
如题,打包的win版本只有10.4m还是很小巧的。
iamxcd commented
这个是网页版的,你说的是什么生成win版?
lingr7 commented
我的意思是那个可下载的那个exe。
iamxcd commented
手动打包确实麻烦,能提下pr吗,构建脚本这块我不熟悉 😂 我把预览程序那部分也上传上来
lingr7 commented
这个我也不熟悉 😂vue程序打包和github的workflow都不熟悉。
lingr7 commented
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",
},
})
预览功能真的弹出了一个窗口界面,很神奇,这是怎么做到的。
iamxcd commented
参考这里: https://github.com/iamxcd/tkinter-helper/blob/master/preview/generate_win.py
解析前端传的布局文件,实时生成窗口,然后弹出。