v3.2.6 稳定版本备份
This commit is contained in:
@@ -122,7 +122,7 @@ class MainWindow:
|
||||
btn_frame.pack(fill="x", pady=5)
|
||||
|
||||
self.style.configure("Action.TButton", padding=8)
|
||||
ttk.Button(btn_frame, text="刷新Cursor编辑器授权", command=self.reset_machine_id, style="Action.TButton").pack(fill="x", pady=2)
|
||||
ttk.Button(btn_frame, text="刷新Cursor编辑器授权", command=self.refresh_cursor_auth, style="Action.TButton").pack(fill="x", pady=2)
|
||||
ttk.Button(btn_frame, text="突破Cursor0.45.x限制", command=self.dummy_function, style="Action.TButton").pack(fill="x", pady=2)
|
||||
ttk.Button(btn_frame, text="禁用Cursor版本更新", command=self.disable_cursor_update, style="Action.TButton").pack(fill="x", pady=2)
|
||||
|
||||
@@ -348,7 +348,7 @@ class MainWindow:
|
||||
"""运行程序"""
|
||||
self.root.mainloop()
|
||||
|
||||
def reset_machine_id(self):
|
||||
def refresh_cursor_auth(self):
|
||||
"""刷新Cursor编辑器授权"""
|
||||
if not self.check_status():
|
||||
self.show_purchase_info()
|
||||
|
||||
Reference in New Issue
Block a user