# -*- coding: utf-8 -*- """Gitea 桌面客户端:把 https://git.hanfuit.com 包成独立窗口应用。""" import webview GITEA_URL = "https://git.hanfuit.com" WINDOW_TITLE = "灵宝仙尊代码仓库" WIDTH = 1280 HEIGHT = 800 def main(): webview.create_window( title=WINDOW_TITLE, url=GITEA_URL, width=WIDTH, height=HEIGHT, min_size=(900, 600), resizable=True, fullscreen=False, ) webview.start() if __name__ == "__main__": main()